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.6862/0.6862, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 180.2 kB / 187.3 MB, free: 11.88 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.242/1.242, allocations: 221.3 MB / 441.4 MB, free: 4.574 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.0008219/0.0008218, allocations: 92.08 kB / 0.5124 GB, free: 24.22 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001626/0.001627, allocations: 272.5 kB / 0.5939 GB, free: 7.93 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.217e-05/3.218e-05, allocations: 8 kB / 0.6835 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3514, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6397/0.9911, allocations: 361.4 MB / 1.117 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/0.9914, allocations: 92.44 kB / 1.117 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.861/5.852, allocations: 1.536 GB / 2.653 GB, free: 102.5 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.473e-06/5.852, allocations: 2.25 kB / 2.653 GB, free: 102.5 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001805/5.852, allocations: 48.61 kB / 2.653 GB, free: 102.5 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.003346/5.856, allocations: 1.885 MB / 2.655 GB, free: 101.6 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/5.856, allocations: 10.28 kB / 2.655 GB, free: 101.6 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002919/5.856, allocations: 161.8 kB / 2.655 GB, free: 101.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002874/5.859, allocations: 0.6095 MB / 2.656 GB, free: 101.4 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00337/5.862, allocations: 1.473 MB / 2.657 GB, free: 101 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.131e-05/5.862, allocations: 83 kB / 2.658 GB, free: 101 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002037/5.863, allocations: 116.4 kB / 2.658 GB, free: 101 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001782/5.864, allocations: 1.197 MB / 2.659 GB, free: 100.8 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/5.864, allocations: 3.844 kB / 2.659 GB, free: 100.8 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.756e-05/5.865, allocations: 42.88 kB / 2.659 GB, free: 100.8 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/5.865, allocations: 26.92 kB / 2.659 GB, free: 100.8 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001364/5.866, allocations: 0.8979 MB / 2.66 GB, free: 100.8 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.007201/5.873, allocations: 6.667 MB / 2.666 GB, free: 96.87 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001381/5.875, allocations: 0.9218 MB / 2.667 GB, free: 96.84 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006212/5.875, allocations: 0.5138 MB / 2.668 GB, free: 96.83 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001249/5.876, allocations: 2.258 MB / 2.67 GB, free: 94.3 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007874/5.877, allocations: 0.669 MB / 2.671 GB, free: 94.14 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=97): time 3.897e-06/5.877, allocations: 3.281 kB / 2.671 GB, free: 94.14 MB / 0.7136 GB Notification: Performance of matching and sorting (n=97): time 0.002029/5.879, allocations: 1.313 MB / 2.672 GB, free: 93.91 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/5.879, allocations: 146.3 kB / 2.672 GB, free: 93.75 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/5.881, allocations: 1.047 MB / 2.673 GB, free: 93.58 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.446e-05/5.881, allocations: 49.45 kB / 2.673 GB, free: 93.55 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000409/5.881, allocations: 0.708 MB / 2.674 GB, free: 93.32 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002218/5.881, allocations: 326.6 kB / 2.674 GB, free: 93.12 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.564e-05/5.881, allocations: 16.75 kB / 2.674 GB, free: 93.12 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.209e-05/5.882, allocations: 347.4 kB / 2.674 GB, free: 92.82 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005646/5.882, allocations: 422.4 kB / 2.675 GB, free: 92.81 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007139/5.883, allocations: 0.7292 MB / 2.676 GB, free: 92.48 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006522/5.884, allocations: 0.5483 MB / 2.676 GB, free: 92.38 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/5.884, allocations: 2.969 kB / 2.676 GB, free: 92.38 MB / 0.7136 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.002116/5.886, allocations: 1.508 MB / 2.678 GB, free: 92.15 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004377/5.886, allocations: 2.254 MB / 2.68 GB, free: 89.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/5.886, allocations: 5.469 kB / 2.68 GB, free: 89.78 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.037e-05/5.886, allocations: 20.97 kB / 2.68 GB, free: 89.78 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/5.887, allocations: 290.9 kB / 2.68 GB, free: 89.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.939e-05/5.887, allocations: 12.16 kB / 2.68 GB, free: 89.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001602/5.889, allocations: 247.4 kB / 2.68 GB, free: 89.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001311/5.889, allocations: 70.53 kB / 2.68 GB, free: 89.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.107e-06/5.889, allocations: 3.906 kB / 2.68 GB, free: 89.73 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00185/5.891, allocations: 1.409 MB / 2.682 GB, free: 89.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/5.891, allocations: 4.875 kB / 2.682 GB, free: 89.61 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/5.891, allocations: 13.53 kB / 2.682 GB, free: 89.61 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/5.892, allocations: 284.1 kB / 2.682 GB, free: 89.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.722e-05/5.892, allocations: 17.7 kB / 2.682 GB, free: 89.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/5.894, allocations: 243.7 kB / 2.682 GB, free: 89.56 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/5.894, allocations: 65.09 kB / 2.682 GB, free: 89.56 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.000269/5.894, allocations: 277.5 kB / 2.683 GB, free: 89.36 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002293/5.894, allocations: 162.5 kB / 2.683 GB, free: 89.27 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002798/5.897, allocations: 2.011 MB / 2.685 GB, free: 89.06 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.341e-05/5.897, allocations: 23.09 kB / 2.685 GB, free: 89.06 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/5.897, allocations: 1.531 kB / 2.685 GB, free: 89.06 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/5.897, allocations: 8.672 kB / 2.685 GB, free: 89.06 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004616/5.902, allocations: 3.339 MB / 2.688 GB, free: 88.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/5.902, allocations: 0 / 2.688 GB, free: 88.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/5.903, allocations: 237.6 kB / 2.688 GB, free: 88.38 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-05/5.903, allocations: 3.812 kB / 2.688 GB, free: 88.38 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.916e-05/5.903, allocations: 42.16 kB / 2.688 GB, free: 88.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/5.903, allocations: 4.312 kB / 2.688 GB, free: 88.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/5.903, allocations: 1.844 kB / 2.688 GB, free: 88.36 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002987/5.906, allocations: 2.699 MB / 2.691 GB, free: 87.11 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000641/5.907, allocations: 406.3 kB / 2.691 GB, free: 86.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002553/5.907, allocations: 32.45 kB / 2.691 GB, free: 86.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001224/5.908, allocations: 175.9 kB / 2.691 GB, free: 86.8 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/5.908, allocations: 71 kB / 2.692 GB, free: 86.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.546e-05/5.908, allocations: 51.55 kB / 2.692 GB, free: 86.78 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009185/5.909, allocations: 0.8138 MB / 2.692 GB, free: 86.46 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.11e-07/5.909, allocations: 0 / 2.692 GB, free: 86.46 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002216/5.911, allocations: 0.9276 MB / 2.693 GB, free: 86.25 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.004524/5.916, allocations: 4.337 MB / 2.698 GB, free: 84 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002592/5.919, allocations: 2.313 MB / 2.7 GB, free: 82.88 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/5.919, allocations: 3.75 kB / 2.7 GB, free: 82.88 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008322/5.919, allocations: 0.9015 MB / 2.701 GB, free: 82.41 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00271/5.922, allocations: 0.6221 MB / 2.701 GB, free: 82.28 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005653/5.928, allocations: 3.094 MB / 2.704 GB, free: 80.99 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006441/5.928, allocations: 1.316 MB / 2.706 GB, free: 80.24 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001942/5.93, allocations: 0.5022 MB / 2.706 GB, free: 80.16 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006486/5.931, allocations: 0.6408 MB / 2.707 GB, free: 79.66 MB / 0.7136 GB Notification: Performance of SimCode: time 1.022e-06/5.931, allocations: 0 / 2.707 GB, free: 79.66 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06662/5.998, allocations: 54.46 MB / 2.76 GB, free: 31.19 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001342/5.998, allocations: 222.9 kB / 2.76 GB, free: 30.96 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.48/9.478, allocations: 4.062 kB / 2.76 GB, free: 30.96 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)