Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9159/0.9159, allocations: 141.8 MB / 149.3 MB, free: 9.223 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 188.8 kB / 182.2 MB, free: 9.438 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 221.5 MB / 436.4 MB, free: 13.28 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008462/0.0008461, allocations: 91.86 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002096/0.002096, allocations: 281.5 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.315e-05/2.326e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6064/0.6064, allocations: 82.77 MB / 0.7575 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8964/1.503, allocations: 360.7 MB / 1.11 GB, free: 4.191 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002875/1.503, allocations: 86.52 kB / 1.11 GB, free: 4.148 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.833/8.337, allocations: 1.529 GB / 2.639 GB, free: 105.9 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.783e-06/8.337, allocations: 0 / 2.639 GB, free: 105.9 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001857/8.337, allocations: 51.42 kB / 2.639 GB, free: 105.9 MB / 0.7136 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.004868/8.342, allocations: 1.883 MB / 2.641 GB, free: 104.9 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.781e-05/8.342, allocations: 12.31 kB / 2.641 GB, free: 104.9 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00349/8.345, allocations: 0.6074 MB / 2.641 GB, free: 104.8 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004215/8.35, allocations: 1.48 MB / 2.643 GB, free: 104.4 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.572e-05/8.35, allocations: 34.44 kB / 2.643 GB, free: 104.4 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001944/8.35, allocations: 73.41 kB / 2.643 GB, free: 104.4 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001723/8.352, allocations: 0.8293 MB / 2.644 GB, free: 104.4 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001753/8.353, allocations: 1.059 MB / 2.645 GB, free: 104.2 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.165e-05/8.353, allocations: 4.719 kB / 2.645 GB, free: 104.2 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.464e-05/8.354, allocations: 6.031 kB / 2.645 GB, free: 104.2 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.408e-05/8.354, allocations: 24.84 kB / 2.645 GB, free: 104.2 MB / 0.7136 GB Warning: The model contains alias variables with conflicting start and/or 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.009107/8.363, allocations: 6.471 MB / 2.651 GB, free: 100.4 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/8.364, allocations: 0.8995 MB / 2.652 GB, free: 100.3 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006786/8.365, allocations: 498 kB / 2.653 GB, free: 100.3 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001641/8.367, allocations: 2.262 MB / 2.655 GB, free: 97.8 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008954/8.367, allocations: 0.6372 MB / 2.655 GB, free: 97.65 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=97): time 3.156e-06/8.368, allocations: 0 / 2.655 GB, free: 97.65 MB / 0.7136 GB Notification: Performance of matching and sorting (n=97): time 0.003671/8.371, allocations: 1.398 MB / 2.657 GB, free: 97.51 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.676e-05/8.371, allocations: 149.8 kB / 2.657 GB, free: 97.36 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001489/8.373, allocations: 0.9088 MB / 2.658 GB, free: 97.2 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001396/8.373, allocations: 31.67 kB / 2.658 GB, free: 97.17 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006863/8.374, allocations: 0.7184 MB / 2.659 GB, free: 96.92 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003301/8.374, allocations: 311.9 kB / 2.659 GB, free: 96.72 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.488e-05/8.374, allocations: 3.688 kB / 2.659 GB, free: 96.72 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001315/8.374, allocations: 343.5 kB / 2.659 GB, free: 96.41 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005998/8.375, allocations: 406.8 kB / 2.66 GB, free: 96.41 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008072/8.376, allocations: 0.6981 MB / 2.66 GB, free: 96.08 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00206/8.378, allocations: 0.6722 MB / 2.661 GB, free: 96.07 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/8.378, allocations: 3.906 kB / 2.661 GB, free: 96.07 MB / 0.7136 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.003681/8.381, allocations: 1.561 MB / 2.662 GB, free: 95.93 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008678/8.382, allocations: 2.241 MB / 2.665 GB, free: 93.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/8.382, allocations: 6.531 kB / 2.665 GB, free: 93.56 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.18e-05/8.382, allocations: 18.55 kB / 2.665 GB, free: 93.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/8.384, allocations: 293 kB / 2.665 GB, free: 93.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.105e-05/8.384, allocations: 13.69 kB / 2.665 GB, free: 93.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002141/8.386, allocations: 217.7 kB / 2.665 GB, free: 93.51 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001667/8.386, allocations: 58.8 kB / 2.665 GB, free: 93.51 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/8.386, allocations: 3.969 kB / 2.665 GB, free: 93.51 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003377/8.389, allocations: 1.432 MB / 2.667 GB, free: 93.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/8.389, allocations: 6.969 kB / 2.667 GB, free: 93.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/8.389, allocations: 13.72 kB / 2.667 GB, free: 93.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/8.391, allocations: 297.4 kB / 2.667 GB, free: 93.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/8.391, allocations: 13.17 kB / 2.667 GB, free: 93.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00199/8.393, allocations: 202.4 kB / 2.667 GB, free: 93.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001405/8.393, allocations: 67.95 kB / 2.667 GB, free: 93.45 MB / 0.7136 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 () * 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.0004175/8.393, allocations: 249.2 kB / 2.667 GB, free: 93.24 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003614/8.397, allocations: 1.437 MB / 2.669 GB, free: 93.11 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002304/8.397, allocations: 159.3 kB / 2.669 GB, free: 93.03 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004439/8.402, allocations: 1.998 MB / 2.671 GB, free: 92.9 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.671e-05/8.402, allocations: 15.92 kB / 2.671 GB, free: 92.9 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/8.402, allocations: 3.812 kB / 2.671 GB, free: 92.9 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.514e-05/8.402, allocations: 3.656 kB / 2.671 GB, free: 92.9 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007036/8.409, allocations: 3.194 MB / 2.674 GB, free: 92.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/8.409, allocations: 2.156 kB / 2.674 GB, free: 92.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/8.41, allocations: 238 kB / 2.674 GB, free: 92.47 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.741e-05/8.41, allocations: 7.875 kB / 2.674 GB, free: 92.47 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/8.41, allocations: 35.78 kB / 2.674 GB, free: 92.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.882e-05/8.41, allocations: 3.562 kB / 2.674 GB, free: 92.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/8.41, allocations: 10.72 kB / 2.674 GB, free: 92.47 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004768/8.415, allocations: 2.668 MB / 2.677 GB, free: 91.68 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009785/8.416, allocations: 399.8 kB / 2.677 GB, free: 91.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002294/8.416, allocations: 14.59 kB / 2.677 GB, free: 91.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00126/8.418, allocations: 156.6 kB / 2.677 GB, free: 91.4 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/8.418, allocations: 81.02 kB / 2.678 GB, free: 91.39 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/8.418, allocations: 51.66 kB / 2.678 GB, free: 91.38 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00107/8.419, allocations: 0.6879 MB / 2.678 GB, free: 91.08 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.01e-07/8.419, allocations: 1.938 kB / 2.678 GB, free: 91.08 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003008/8.422, allocations: 0.8876 MB / 2.679 GB, free: 90.91 MB / 0.7136 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) * 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.006381/8.428, allocations: 4.327 MB / 2.683 GB, free: 88.75 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003375/8.432, allocations: 2.227 MB / 2.686 GB, free: 87.64 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.116e-06/8.432, allocations: 0 / 2.686 GB, free: 87.64 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001125/8.433, allocations: 0.8758 MB / 2.686 GB, free: 87.17 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003655/8.437, allocations: 0.5364 MB / 2.687 GB, free: 87.07 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006984/8.444, allocations: 2.994 MB / 2.69 GB, free: 85.84 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007099/8.444, allocations: 1.314 MB / 2.691 GB, free: 85.09 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0022/8.447, allocations: 488.8 kB / 2.692 GB, free: 85 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007268/8.447, allocations: 0.6427 MB / 2.692 GB, free: 84.5 MB / 0.7136 GB Notification: Performance of SimCode: time 1.523e-06/8.447, allocations: 0 / 2.692 GB, free: 84.5 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09409/8.541, allocations: 45.98 MB / 2.737 GB, free: 44.03 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000216/8.542, allocations: 197.3 kB / 2.737 GB, free: 43.77 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.995/12.54, allocations: 2.812 kB / 2.737 GB, free: 43.77 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe 2>&1)