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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic") translateModel(BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 115.3 kB / 16.42 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 186.1 kB / 17.35 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002155/0.002155, allocations: 290.5 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9253/0.9253, allocations: 169.2 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 99.84 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.414/0.4159, allocations: 86.97 MB / 0.7671 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic): time 0.05957/0.4755, allocations: 62.19 MB / 0.8278 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01717/0.4927, allocations: 11.44 MB / 0.839 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002013/0.4948, allocations: 75.5 kB / 0.839 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002166/0.497, allocations: 0.811 MB / 0.8398 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004916/0.5019, allocations: 1.93 MB / 0.8417 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005065/0.507, allocations: 2.005 MB / 0.8437 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005/0.512, allocations: 3.932 MB / 0.8475 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001947/0.514, allocations: 1.256 MB / 0.8487 GB, free: 128 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003649/0.5176, allocations: 1.914 MB / 0.8506 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002042/0.5197, allocations: 1.256 MB / 0.8518 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003086/0.52, allocations: 128 kB / 0.852 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002871/0.5229, allocations: 1.556 MB / 0.8535 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003968/0.5233, allocations: 370.5 kB / 0.8538 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001069/0.5244, allocations: 0.8937 MB / 0.8547 GB, free: 9.996 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003473/0.5279, allocations: 2.643 MB / 0.8573 GB, free: 7.348 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.5279, allocations: 0 / 0.8573 GB, free: 7.348 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5279, allocations: 0 / 0.8573 GB, free: 7.348 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.05e-05/0.5279, allocations: 0 / 0.8573 GB, free: 7.348 MB / 0.6231 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.003135/0.5311, allocations: 2.193 MB / 0.8594 GB, free: 5.074 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.5311, allocations: 8.031 kB / 0.8594 GB, free: 5.066 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003446/0.5346, allocations: 0.6065 MB / 0.86 GB, free: 4.457 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002097/0.5367, allocations: 1.32 MB / 0.8613 GB, free: 3.086 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.915e-05/0.5368, allocations: 78 kB / 0.8614 GB, free: 3.008 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001671/0.5369, allocations: 107.9 kB / 0.8615 GB, free: 2.902 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002812/0.5398, allocations: 1.369 MB / 0.8628 GB, free: 1.457 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.5398, allocations: 7.875 kB / 0.8628 GB, free: 1.449 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/0.5399, allocations: 40 kB / 0.8629 GB, free: 1.41 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-05/0.54, allocations: 24 kB / 0.8629 GB, free: 1.387 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003311/0.5433, allocations: 1.233 MB / 0.8641 GB, free: 156 kB / 0.6231 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.007639/0.5509, allocations: 6.635 MB / 0.8706 GB, free: 8.988 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003077/0.554, allocations: 1.195 MB / 0.8717 GB, free: 7.781 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001639/0.5557, allocations: 0.6526 MB / 0.8724 GB, free: 7.129 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001596/0.5573, allocations: 2.252 MB / 0.8746 GB, free: 4.379 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001837/0.5591, allocations: 0.8031 MB / 0.8754 GB, free: 3.547 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=97): time 3.457e-06/0.5591, allocations: 0 / 0.8754 GB, free: 3.547 MB / 0.6387 GB Notification: Performance of matching and sorting (n=97): time 0.005364/0.5645, allocations: 2.129 MB / 0.8774 GB, free: 1.391 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.457e-05/0.5646, allocations: 153.2 kB / 0.8776 GB, free: 1.211 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001475/0.5661, allocations: 1.234 MB / 0.8788 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.371e-05/0.5662, allocations: 45.7 kB / 0.8788 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005113/0.5667, allocations: 0.6976 MB / 0.8795 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002518/0.567, allocations: 323.4 kB / 0.8798 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003065/0.5673, allocations: 210.4 kB / 0.88 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.5674, allocations: 349.9 kB / 0.8804 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001547/0.569, allocations: 0.571 MB / 0.8809 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001864/0.5708, allocations: 0.8374 MB / 0.8817 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003317/0.5742, allocations: 1.497 MB / 0.8832 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.5742, allocations: 11.94 kB / 0.8832 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.004121/0.5783, allocations: 1.757 MB / 0.8849 GB, free: 9.414 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.914e-05/0.5784, allocations: 105.1 kB / 0.885 GB, free: 9.293 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.5784, allocations: 4 kB / 0.885 GB, free: 9.289 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.5784, allocations: 12.72 kB / 0.885 GB, free: 9.277 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/0.5797, allocations: 291.6 kB / 0.8853 GB, free: 8.992 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.827e-05/0.5798, allocations: 11.94 kB / 0.8853 GB, free: 8.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/0.5811, allocations: 198.8 kB / 0.8855 GB, free: 8.785 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.5812, allocations: 51.97 kB / 0.8856 GB, free: 8.734 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001987/0.5832, allocations: 0.8066 MB / 0.8864 GB, free: 7.926 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001761/0.5849, allocations: 0.8332 MB / 0.8872 GB, free: 6.992 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003241/0.5882, allocations: 1.482 MB / 0.8886 GB, free: 5.398 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.188e-06/0.5882, allocations: 7.938 kB / 0.8886 GB, free: 5.391 MB / 0.6544 GB Notification: Performance of matching and sorting (n=132) (initialization_lambda0): time 0.003988/0.5922, allocations: 1.753 MB / 0.8903 GB, free: 3.609 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.11e-05/0.5923, allocations: 101.1 kB / 0.8904 GB, free: 3.492 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.5923, allocations: 8 kB / 0.8904 GB, free: 3.484 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.5923, allocations: 8.719 kB / 0.8905 GB, free: 3.477 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/0.5936, allocations: 307.5 kB / 0.8908 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.5936, allocations: 11.98 kB / 0.8908 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.5949, allocations: 179.1 kB / 0.8909 GB, free: 2.988 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001516/0.5951, allocations: 51.97 kB / 0.891 GB, free: 2.938 MB / 0.6544 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 (TSetCoolHeat.nextEventScaled,TSetCoolHeat.nextEvent,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.b,TSetCoolHeat.a,TSetCool.nextEventScaled,TSetCool.nextEvent,$PRE.TSetCool.nextEvent,TSetCool.last,TSetCool.b,TSetCool.a,TSetHeat.nextEventScaled,TSetHeat.nextEvent,$PRE.TSetHeat.nextEvent,TSetHeat.last,TSetHeat.b,TSetHeat.a,$whenCondition3,$whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003966/0.5955, allocations: 355.2 kB / 0.8913 GB, free: 2.566 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000242/0.5957, allocations: 158.1 kB / 0.8915 GB, free: 2.41 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004905/0.6006, allocations: 2.281 MB / 0.8937 GB, free: 140 kB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.365e-05/0.6007, allocations: 3.984 kB / 0.8937 GB, free: 136 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.6007, allocations: 0 / 0.8937 GB, free: 136 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000521/0.6012, allocations: 386.6 kB / 0.8941 GB, free: 15.73 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002099/0.6014, allocations: 31.94 kB / 0.8941 GB, free: 15.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/0.6025, allocations: 115.8 kB / 0.8942 GB, free: 15.59 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.6026, allocations: 72.84 kB / 0.8943 GB, free: 15.52 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005246/0.6079, allocations: 2.259 MB / 0.8965 GB, free: 13.2 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006326/0.6142, allocations: 3.101 MB / 0.8995 GB, free: 10.05 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001822/0.6161, allocations: 0.8748 MB / 0.9004 GB, free: 9.18 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00112/0.6172, allocations: 0.8304 MB / 0.9012 GB, free: 8.352 MB / 0.67 GB Notification: Performance of Backend: time 2.41e-07/0.6172, allocations: 0 / 0.9012 GB, free: 8.352 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00596/0.6232, allocations: 2.66 MB / 0.9038 GB, free: 5.629 MB / 0.67 GB Notification: Performance of SimCode: time 0.005118/0.6283, allocations: 3.789 MB / 0.9075 GB, free: 1.762 MB / 0.67 GB Notification: Performance of Templates: time 0.05676/0.6851, allocations: 37.66 MB / 0.9443 GB, free: 12.59 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe 2>&1)