Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet") translateModel(BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 108.4 kB / 16.41 MB, free: 6.512 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.001564/0.001564, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.3/1.3, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002134/0.002134, allocations: 281.5 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9242/0.9242, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 91.86 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.405, allocations: 86.98 MB / 0.767 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet): time 0.05839/0.4635, allocations: 62.18 MB / 0.8278 GB, free: 5.461 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0171/0.4806, allocations: 11.42 MB / 0.8389 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002427/0.4831, allocations: 83.5 kB / 0.839 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002604/0.4857, allocations: 0.8032 MB / 0.8398 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005441/0.4912, allocations: 1.937 MB / 0.8417 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005775/0.497, allocations: 2.008 MB / 0.8436 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.006134/0.5032, allocations: 3.924 MB / 0.8475 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002561/0.5058, allocations: 1.271 MB / 0.8487 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004729/0.5105, allocations: 1.906 MB / 0.8506 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002565/0.5131, allocations: 1.268 MB / 0.8518 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0004527/0.5136, allocations: 127.9 kB / 0.8519 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003615/0.5172, allocations: 1.548 MB / 0.8534 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006143/0.5178, allocations: 366.5 kB / 0.8538 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001818/0.5197, allocations: 0.8898 MB / 0.8547 GB, free: 9.824 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00508/0.5248, allocations: 2.647 MB / 0.8573 GB, free: 7.172 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.5248, allocations: 0 / 0.8573 GB, free: 7.172 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.412e-06/0.5248, allocations: 4 kB / 0.8573 GB, free: 7.168 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.069e-05/0.5249, allocations: 0 / 0.8573 GB, free: 7.168 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.003781/0.5287, allocations: 2.17 MB / 0.8594 GB, free: 4.918 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.5287, allocations: 8.031 kB / 0.8594 GB, free: 4.91 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003664/0.5324, allocations: 0.6142 MB / 0.86 GB, free: 4.293 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002792/0.5352, allocations: 1.312 MB / 0.8613 GB, free: 2.93 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.603e-05/0.5353, allocations: 78 kB / 0.8613 GB, free: 2.852 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002442/0.5356, allocations: 115.9 kB / 0.8614 GB, free: 2.738 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003218/0.5388, allocations: 1.347 MB / 0.8628 GB, free: 1.324 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/0.5388, allocations: 3.938 kB / 0.8628 GB, free: 1.32 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/0.5389, allocations: 44 kB / 0.8628 GB, free: 1.277 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.026e-05/0.539, allocations: 27.94 kB / 0.8628 GB, free: 1.25 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003612/0.5426, allocations: 1.257 MB / 0.8641 GB, free: 15.99 MB / 0.6387 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.009286/0.5519, allocations: 6.4 MB / 0.8703 GB, free: 9.07 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00334/0.5552, allocations: 1.22 MB / 0.8715 GB, free: 7.844 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001693/0.557, allocations: 0.6695 MB / 0.8722 GB, free: 7.176 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00183/0.5588, allocations: 2.253 MB / 0.8744 GB, free: 4.426 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001979/0.5608, allocations: 0.8172 MB / 0.8752 GB, free: 3.578 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=100): time 3.566e-06/0.5608, allocations: 0 / 0.8752 GB, free: 3.578 MB / 0.6387 GB Notification: Performance of matching and sorting (n=100): time 0.005759/0.5666, allocations: 2.163 MB / 0.8773 GB, free: 1.391 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.4e-05/0.5667, allocations: 153.5 kB / 0.8774 GB, free: 1.211 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001921/0.5686, allocations: 1.209 MB / 0.8786 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.619e-05/0.5687, allocations: 41.7 kB / 0.8786 GB, free: 15.94 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005749/0.5693, allocations: 0.6938 MB / 0.8793 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003118/0.5696, allocations: 323.3 kB / 0.8796 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003465/0.57, allocations: 202.5 kB / 0.8798 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.5701, allocations: 345.9 kB / 0.8801 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001613/0.5718, allocations: 0.5668 MB / 0.8807 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00179/0.5736, allocations: 0.7725 MB / 0.8815 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003434/0.577, allocations: 1.458 MB / 0.8829 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.577, allocations: 0 / 0.8829 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004353/0.5814, allocations: 1.746 MB / 0.8846 GB, free: 9.637 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.578e-05/0.5815, allocations: 105.1 kB / 0.8847 GB, free: 9.516 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.5815, allocations: 4 kB / 0.8847 GB, free: 9.512 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.5815, allocations: 8 kB / 0.8847 GB, free: 9.504 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/0.5828, allocations: 275.9 kB / 0.885 GB, free: 9.234 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.332e-05/0.5829, allocations: 15.98 kB / 0.885 GB, free: 9.219 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001474/0.5844, allocations: 179 kB / 0.8851 GB, free: 9.043 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/0.5845, allocations: 51.97 kB / 0.8852 GB, free: 8.992 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002074/0.5866, allocations: 0.8024 MB / 0.886 GB, free: 8.184 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001764/0.5883, allocations: 0.7686 MB / 0.8867 GB, free: 7.344 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003376/0.5917, allocations: 1.446 MB / 0.8881 GB, free: 5.805 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.552e-06/0.5918, allocations: 3.984 kB / 0.8881 GB, free: 5.801 MB / 0.6544 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.00423/0.596, allocations: 1.722 MB / 0.8898 GB, free: 4.051 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.512e-05/0.5961, allocations: 109.6 kB / 0.8899 GB, free: 3.926 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.5961, allocations: 4 kB / 0.8899 GB, free: 3.922 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.5961, allocations: 12 kB / 0.8899 GB, free: 3.91 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/0.5974, allocations: 279.5 kB / 0.8902 GB, free: 3.637 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.705e-05/0.5974, allocations: 8 kB / 0.8902 GB, free: 3.629 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/0.5988, allocations: 159.2 kB / 0.8904 GB, free: 3.473 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/0.599, allocations: 55.97 kB / 0.8904 GB, free: 3.418 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (111): * Single equations (assignments): 108 * 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.0003864/0.5994, allocations: 350.8 kB / 0.8908 GB, free: 3.051 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004017/0.5998, allocations: 166 kB / 0.8909 GB, free: 2.887 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005196/0.605, allocations: 2.293 MB / 0.8932 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/0.605, allocations: 11.97 kB / 0.8932 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.605, allocations: 0 / 0.8932 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006987/0.6057, allocations: 390.5 kB / 0.8935 GB, free: 180 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003107/0.606, allocations: 24 kB / 0.8936 GB, free: 156 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/0.6072, allocations: 115.9 kB / 0.8937 GB, free: 40 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001731/0.6074, allocations: 80.83 kB / 0.8938 GB, free: 15.96 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005371/0.6128, allocations: 2.271 MB / 0.896 GB, free: 13.62 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006599/0.6194, allocations: 3.12 MB / 0.899 GB, free: 10.46 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001928/0.6213, allocations: 0.8943 MB / 0.8999 GB, free: 9.57 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001322/0.6227, allocations: 0.8181 MB / 0.9007 GB, free: 8.754 MB / 0.67 GB Notification: Performance of Backend: time 6.01e-07/0.6227, allocations: 3.938 kB / 0.9007 GB, free: 8.75 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.006386/0.6291, allocations: 2.641 MB / 0.9033 GB, free: 6.043 MB / 0.67 GB Notification: Performance of SimCode: time 0.006003/0.6351, allocations: 3.608 MB / 0.9068 GB, free: 2.352 MB / 0.67 GB Notification: Performance of Templates: time 0.05903/0.6942, allocations: 37.47 MB / 0.9434 GB, free: 13.34 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1)