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.00144/0.00144, allocations: 116.8 kB / 16.42 MB, free: 6.492 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.001171/0.001171, allocations: 186.6 kB / 17.35 MB, free: 5.762 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002139/0.002139, allocations: 288.4 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9606/0.9606, allocations: 169.2 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 99.84 kB / 0.6821 GB, free: 7.004 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3967, allocations: 86.98 MB / 0.767 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet): time 0.06121/0.4579, allocations: 62.19 MB / 0.8278 GB, free: 5.57 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01814/0.4761, allocations: 11.43 MB / 0.8389 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002581/0.4787, allocations: 79.5 kB / 0.839 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002552/0.4813, allocations: 0.8149 MB / 0.8398 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005232/0.4866, allocations: 2.031 MB / 0.8418 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00508/0.4917, allocations: 2.034 MB / 0.8438 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005184/0.4969, allocations: 3.94 MB / 0.8476 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00207/0.499, allocations: 1.267 MB / 0.8489 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003681/0.5027, allocations: 1.918 MB / 0.8507 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00202/0.5047, allocations: 1.268 MB / 0.852 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003781/0.5051, allocations: 128 kB / 0.8521 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003392/0.5085, allocations: 1.54 MB / 0.8536 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004962/0.509, allocations: 370.5 kB / 0.854 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001378/0.5104, allocations: 0.8898 MB / 0.8548 GB, free: 9.781 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004292/0.5147, allocations: 2.643 MB / 0.8574 GB, free: 7.133 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.5147, allocations: 0 / 0.8574 GB, free: 7.133 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5147, allocations: 4 kB / 0.8574 GB, free: 7.129 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.884e-05/0.5148, allocations: 0 / 0.8574 GB, free: 7.129 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.003771/0.5186, allocations: 2.174 MB / 0.8595 GB, free: 4.875 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.5186, allocations: 8.031 kB / 0.8595 GB, free: 4.867 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00359/0.5222, allocations: 0.6142 MB / 0.8601 GB, free: 4.25 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002634/0.5248, allocations: 1.316 MB / 0.8614 GB, free: 2.883 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.379e-05/0.5249, allocations: 82 kB / 0.8615 GB, free: 2.801 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000181/0.5251, allocations: 107.9 kB / 0.8616 GB, free: 2.695 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003104/0.5282, allocations: 1.344 MB / 0.8629 GB, free: 1.285 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/0.5283, allocations: 11.88 kB / 0.8629 GB, free: 1.273 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.5284, allocations: 36 kB / 0.863 GB, free: 1.238 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.99e-05/0.5284, allocations: 24 kB / 0.863 GB, free: 1.215 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003636/0.532, allocations: 1.257 MB / 0.8642 GB, free: 15.95 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.008725/0.5408, allocations: 6.408 MB / 0.8705 GB, free: 9.027 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003336/0.5441, allocations: 1.215 MB / 0.8717 GB, free: 7.805 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001683/0.5458, allocations: 0.6647 MB / 0.8723 GB, free: 7.137 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001745/0.5476, allocations: 2.253 MB / 0.8745 GB, free: 4.387 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002075/0.5497, allocations: 0.825 MB / 0.8753 GB, free: 3.531 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=100): time 3.316e-06/0.5497, allocations: 0 / 0.8753 GB, free: 3.531 MB / 0.6387 GB Notification: Performance of matching and sorting (n=100): time 0.005919/0.5556, allocations: 2.159 MB / 0.8774 GB, free: 1.348 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.741e-05/0.5557, allocations: 157.5 kB / 0.8776 GB, free: 1.164 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001824/0.5576, allocations: 1.209 MB / 0.8787 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.492e-05/0.5577, allocations: 45.7 kB / 0.8788 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006622/0.5584, allocations: 0.686 MB / 0.8795 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002986/0.5587, allocations: 327.3 kB / 0.8798 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003163/0.559, allocations: 198.5 kB / 0.88 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.5591, allocations: 345.9 kB / 0.8803 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00162/0.5607, allocations: 0.5629 MB / 0.8808 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001759/0.5625, allocations: 0.7764 MB / 0.8816 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003372/0.5659, allocations: 1.462 MB / 0.883 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.5659, allocations: 4 kB / 0.883 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004212/0.5701, allocations: 1.742 MB / 0.8847 GB, free: 9.59 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.459e-05/0.5702, allocations: 101.1 kB / 0.8848 GB, free: 9.473 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.5702, allocations: 4 kB / 0.8848 GB, free: 9.469 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.5703, allocations: 8 kB / 0.8848 GB, free: 9.461 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/0.5716, allocations: 275.8 kB / 0.8851 GB, free: 9.191 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.355e-05/0.5716, allocations: 15.98 kB / 0.8851 GB, free: 9.176 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/0.573, allocations: 175 kB / 0.8853 GB, free: 9.004 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001253/0.5731, allocations: 51.97 kB / 0.8853 GB, free: 8.953 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001976/0.5751, allocations: 0.8087 MB / 0.8861 GB, free: 8.141 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001775/0.5769, allocations: 0.7686 MB / 0.8869 GB, free: 7.301 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003325/0.5802, allocations: 1.45 MB / 0.8883 GB, free: 5.758 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.387e-06/0.5802, allocations: 0 / 0.8883 GB, free: 5.758 MB / 0.6544 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.004121/0.5843, allocations: 1.722 MB / 0.89 GB, free: 4.008 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.035e-05/0.5844, allocations: 105.1 kB / 0.8901 GB, free: 3.887 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.5845, allocations: 4.531 kB / 0.8901 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.5845, allocations: 12 kB / 0.8901 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/0.5857, allocations: 275.6 kB / 0.8904 GB, free: 3.602 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.521e-05/0.5858, allocations: 8 kB / 0.8904 GB, free: 3.594 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/0.5871, allocations: 171.2 kB / 0.8905 GB, free: 3.426 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/0.5872, allocations: 55.91 kB / 0.8906 GB, free: 3.371 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.0003547/0.5876, allocations: 346.8 kB / 0.8909 GB, free: 3.008 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003137/0.5879, allocations: 162 kB / 0.8911 GB, free: 2.848 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00517/0.5931, allocations: 2.305 MB / 0.8933 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/0.5931, allocations: 7.969 kB / 0.8933 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.5931, allocations: 0 / 0.8933 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006314/0.5938, allocations: 390.5 kB / 0.8937 GB, free: 132 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002512/0.594, allocations: 24 kB / 0.8937 GB, free: 108 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/0.5952, allocations: 123.9 kB / 0.8938 GB, free: 15.98 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/0.5953, allocations: 72.78 kB / 0.8939 GB, free: 15.91 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005358/0.6007, allocations: 2.271 MB / 0.8961 GB, free: 13.58 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006512/0.6072, allocations: 3.124 MB / 0.8992 GB, free: 10.41 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001907/0.6091, allocations: 0.8943 MB / 0.9 GB, free: 9.52 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001221/0.6104, allocations: 0.8181 MB / 0.9008 GB, free: 8.703 MB / 0.67 GB Notification: Performance of Backend: time 4.6e-07/0.6104, allocations: 0 / 0.9008 GB, free: 8.703 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.006227/0.6166, allocations: 2.632 MB / 0.9034 GB, free: 6.004 MB / 0.67 GB Notification: Performance of SimCode: time 0.005465/0.6221, allocations: 3.622 MB / 0.907 GB, free: 2.301 MB / 0.67 GB Notification: Performance of Templates: time 0.05829/0.6804, allocations: 37.48 MB / 0.9435 GB, free: 13.29 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)