Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.474/1.474, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001262/0.001262, allocations: 185.2 kB / 326.5 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.114/2.114, allocations: 205.4 MB / 0.5775 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009785/0.0009782, allocations: 105.3 kB / 0.6821 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003645/0.0003642, allocations: 9.312 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2398, allocations: 106.4 MB / 0.9002 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9841/1.224, allocations: 382.7 MB / 1.274 GB, free: 312 kB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002493/1.224, allocations: 90.45 kB / 1.274 GB, free: 264 kB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.442/6.666, allocations: 1.465 GB / 2.739 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.765e-06/6.666, allocations: 0 / 2.739 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003157/6.667, allocations: 51.92 kB / 2.739 GB, free: 13.43 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.006726/6.674, allocations: 2.207 MB / 2.741 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/6.674, allocations: 12.03 kB / 2.741 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006041/6.674, allocations: 160.4 kB / 2.741 GB, free: 10.97 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003597/6.678, allocations: 0.6104 MB / 2.742 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005226/6.683, allocations: 1.491 MB / 2.743 GB, free: 8.816 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.409e-05/6.683, allocations: 82 kB / 2.743 GB, free: 8.734 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001778/6.683, allocations: 115.9 kB / 2.743 GB, free: 8.621 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002678/6.686, allocations: 1.373 MB / 2.745 GB, free: 7.172 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/6.686, allocations: 7.969 kB / 2.745 GB, free: 7.164 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/6.686, allocations: 44.34 kB / 2.745 GB, free: 7.121 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.187e-05/6.686, allocations: 31.95 kB / 2.745 GB, free: 7.09 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002848/6.689, allocations: 1.241 MB / 2.746 GB, free: 5.852 MB / 0.8855 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008338/6.697, allocations: 6.654 MB / 2.753 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003164/6.701, allocations: 1.255 MB / 2.754 GB, free: 13.42 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002125/6.703, allocations: 2.265 MB / 2.756 GB, free: 10.66 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001871/6.705, allocations: 0.8343 MB / 2.757 GB, free: 9.789 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=97): time 4.548e-06/6.705, allocations: 0 / 2.757 GB, free: 9.789 MB / 0.9011 GB Notification: Performance of matching and sorting (n=97): time 0.005855/6.711, allocations: 2.466 MB / 2.759 GB, free: 7.242 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/6.711, allocations: 153.2 kB / 2.759 GB, free: 7.062 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00194/6.713, allocations: 1.071 MB / 2.76 GB, free: 5.984 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001601/6.713, allocations: 45.7 kB / 2.761 GB, free: 5.934 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007194/6.714, allocations: 0.7135 MB / 2.761 GB, free: 5.211 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003715/6.714, allocations: 323.3 kB / 2.762 GB, free: 4.891 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.083e-05/6.714, allocations: 19.94 kB / 2.762 GB, free: 4.871 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001645/6.714, allocations: 345.9 kB / 2.762 GB, free: 4.527 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001506/6.716, allocations: 0.5839 MB / 2.762 GB, free: 3.945 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001764/6.717, allocations: 0.8964 MB / 2.763 GB, free: 2.93 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001618/6.719, allocations: 0.7211 MB / 2.764 GB, free: 2.191 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/6.719, allocations: 4.172 kB / 2.764 GB, free: 2.188 MB / 0.9011 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.004632/6.724, allocations: 1.847 MB / 2.766 GB, free: 320 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.6895/7.413, allocations: 2.243 MB / 2.768 GB, free: 134.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.962e-05/7.413, allocations: 5.25 kB / 2.768 GB, free: 134.4 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.942e-05/7.413, allocations: 14.64 kB / 2.768 GB, free: 134.4 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001657/7.415, allocations: 294.8 kB / 2.768 GB, free: 134.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.743e-05/7.415, allocations: 14.89 kB / 2.768 GB, free: 134.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002341/7.417, allocations: 249.6 kB / 2.769 GB, free: 134.4 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002407/7.418, allocations: 64.67 kB / 2.769 GB, free: 134.4 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/7.418, allocations: 4.172 kB / 2.769 GB, free: 134.4 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004045/7.422, allocations: 1.749 MB / 2.77 GB, free: 134.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/7.422, allocations: 6.594 kB / 2.77 GB, free: 134.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/7.422, allocations: 11.69 kB / 2.77 GB, free: 134.3 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/7.423, allocations: 292.8 kB / 2.771 GB, free: 134.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.442e-05/7.423, allocations: 17.67 kB / 2.771 GB, free: 134.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002548/7.426, allocations: 235 kB / 2.771 GB, free: 134.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001808/7.426, allocations: 73.47 kB / 2.771 GB, free: 134.3 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001453/7.427, allocations: 0.5005 MB / 2.771 GB, free: 134 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005599/7.428, allocations: 164.4 kB / 2.772 GB, free: 134 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005334/7.433, allocations: 2.341 MB / 2.774 GB, free: 133.9 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.548e-05/7.433, allocations: 18.52 kB / 2.774 GB, free: 133.9 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.417e-06/7.433, allocations: 0 / 2.774 GB, free: 133.9 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-05/7.433, allocations: 8.953 kB / 2.774 GB, free: 133.9 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009546/7.443, allocations: 3.688 MB / 2.778 GB, free: 133.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-05/7.443, allocations: 2.109 kB / 2.778 GB, free: 133.4 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001306/7.444, allocations: 226.4 kB / 2.778 GB, free: 133.4 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.985e-05/7.444, allocations: 8.703 kB / 2.778 GB, free: 133.4 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000135/7.444, allocations: 44.03 kB / 2.778 GB, free: 133.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.341e-05/7.445, allocations: 6.359 kB / 2.778 GB, free: 133.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/7.445, allocations: 3.625 kB / 2.778 GB, free: 133.4 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008039/7.453, allocations: 3.203 MB / 2.781 GB, free: 132.9 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001467/7.454, allocations: 403.3 kB / 2.781 GB, free: 132.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003808/7.454, allocations: 30.81 kB / 2.781 GB, free: 132.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001463/7.456, allocations: 169.3 kB / 2.781 GB, free: 132.7 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002296/7.456, allocations: 76.2 kB / 2.782 GB, free: 132.7 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001766/7.456, allocations: 55.84 kB / 2.782 GB, free: 132.7 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001715/7.458, allocations: 0.8305 MB / 2.782 GB, free: 132.6 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.2e-07/7.458, allocations: 0 / 2.782 GB, free: 132.6 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.004894/7.463, allocations: 0.926 MB / 2.783 GB, free: 132.6 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 9 (heaHigPow.outCon.T,heaHigPowOut.T,cooLimPowOut.T,cooLimPow.outCon.T,heaCooUnl.outCon.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 19 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009508/7.473, allocations: 4.858 MB / 2.788 GB, free: 131.2 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.005823/7.478, allocations: 2.776 MB / 2.791 GB, free: 130.8 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 6.433e-06/7.478, allocations: 0 / 2.791 GB, free: 130.8 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001933/7.48, allocations: 1.072 MB / 2.792 GB, free: 130.6 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003208/7.484, allocations: 0.6171 MB / 2.792 GB, free: 130.6 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01957/7.503, allocations: 14.11 MB / 2.806 GB, free: 123.6 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007467/7.504, allocations: 1.309 MB / 2.808 GB, free: 122.9 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.002181/7.506, allocations: 424 kB / 2.808 GB, free: 122.9 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008759/7.507, allocations: 0.6654 MB / 2.809 GB, free: 122.9 MB / 0.9011 GB Notification: Performance of SimCode: time 1.413e-06/7.507, allocations: 0 / 2.809 GB, free: 122.9 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09055/7.598, allocations: 51.07 MB / 2.858 GB, free: 121.1 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002136/7.598, allocations: 244.4 kB / 2.859 GB, free: 120.8 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.109/11.71, allocations: 0 / 2.859 GB, free: 120.8 MB / 0.9011 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe 2>&1)