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/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: 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/BuildingSystems 2.0.0-master/package.mo): time 0.9076/0.9076, allocations: 141.8 MB / 149.3 MB, free: 9.195 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.001128/0.001128, allocations: 188.6 kB / 182.2 MB, free: 9.426 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.486/1.486, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.0009017/0.0009018, allocations: 89.8 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001729/0.001729, allocations: 282.5 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.23e-05/2.232e-05, allocations: 4 kB / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4783/0.4784, allocations: 82.78 MB / 0.7574 GB, free: 31.81 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8266/1.305, allocations: 360.5 MB / 1.109 GB, free: 4.195 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003104/1.305, allocations: 92.62 kB / 1.109 GB, free: 4.148 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.822/5.128, allocations: 0.9485 GB / 2.058 GB, free: 95.07 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.775e-06/5.128, allocations: 0 / 2.058 GB, free: 95.07 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002916/5.128, allocations: 51.36 kB / 2.058 GB, free: 95.06 MB / 0.698 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.005321/5.134, allocations: 1.874 MB / 2.06 GB, free: 94.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/5.134, allocations: 9.812 kB / 2.06 GB, free: 94.16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003504/5.137, allocations: 0.6104 MB / 2.06 GB, free: 94.05 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004582/5.142, allocations: 1.466 MB / 2.062 GB, free: 93.65 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.346e-05/5.142, allocations: 32.88 kB / 2.062 GB, free: 93.65 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003791/5.142, allocations: 66.5 kB / 2.062 GB, free: 93.65 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001571/5.144, allocations: 0.8639 MB / 2.063 GB, free: 93.65 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/5.145, allocations: 1.055 MB / 2.064 GB, free: 93.46 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/5.145, allocations: 3.281 kB / 2.064 GB, free: 93.46 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.136e-05/5.146, allocations: 3.875 kB / 2.064 GB, free: 93.46 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.327e-05/5.146, allocations: 26.91 kB / 2.064 GB, free: 93.46 MB / 0.698 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.008373/5.154, allocations: 6.231 MB / 2.07 GB, free: 89.87 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/5.155, allocations: 0.9157 MB / 2.071 GB, free: 89.84 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005943/5.156, allocations: 0.5005 MB / 2.071 GB, free: 89.82 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001544/5.158, allocations: 2.259 MB / 2.074 GB, free: 87.29 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007955/5.158, allocations: 0.6543 MB / 2.074 GB, free: 87.14 MB / 0.698 GB Notification: Performance of pre-optimization done (n=100): time 4.669e-06/5.158, allocations: 1.875 kB / 2.074 GB, free: 87.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=100): time 0.003437/5.162, allocations: 1.459 MB / 2.076 GB, free: 87 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.606e-05/5.162, allocations: 149.6 kB / 2.076 GB, free: 86.84 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/5.163, allocations: 0.8885 MB / 2.077 GB, free: 86.69 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.531e-05/5.163, allocations: 31.36 kB / 2.077 GB, free: 86.66 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005195/5.164, allocations: 0.7085 MB / 2.077 GB, free: 86.42 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002479/5.164, allocations: 311.6 kB / 2.078 GB, free: 86.21 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.605e-05/5.164, allocations: 3.688 kB / 2.078 GB, free: 86.21 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.406e-05/5.164, allocations: 343.1 kB / 2.078 GB, free: 85.91 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005342/5.165, allocations: 407 kB / 2.078 GB, free: 85.91 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006893/5.165, allocations: 0.6517 MB / 2.079 GB, free: 85.62 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00191/5.167, allocations: 0.6998 MB / 2.08 GB, free: 85.62 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/5.167, allocations: 6.375 kB / 2.08 GB, free: 85.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003319/5.171, allocations: 1.568 MB / 2.081 GB, free: 85.48 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004829/5.171, allocations: 1.706 MB / 2.083 GB, free: 83.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/5.171, allocations: 10.27 kB / 2.083 GB, free: 83.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.808e-05/5.171, allocations: 7.125 kB / 2.083 GB, free: 83.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/5.172, allocations: 283.4 kB / 2.083 GB, free: 83.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/5.172, allocations: 13.2 kB / 2.083 GB, free: 83.67 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001615/5.174, allocations: 206.9 kB / 2.083 GB, free: 83.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001419/5.174, allocations: 62.78 kB / 2.083 GB, free: 83.64 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/5.174, allocations: 3.281 kB / 2.083 GB, free: 83.64 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002989/5.177, allocations: 1.439 MB / 2.085 GB, free: 83.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/5.177, allocations: 5.156 kB / 2.085 GB, free: 83.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/5.177, allocations: 11.47 kB / 2.085 GB, free: 83.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/5.178, allocations: 281.8 kB / 2.085 GB, free: 83.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/5.178, allocations: 7.562 kB / 2.085 GB, free: 83.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/5.18, allocations: 202.5 kB / 2.085 GB, free: 83.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/5.18, allocations: 61.27 kB / 2.085 GB, free: 83.57 MB / 0.698 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 ($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 (111): * Single equations (assignments): 108 * 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.0003704/5.18, allocations: 250.6 kB / 2.086 GB, free: 83.36 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002324/5.181, allocations: 160.7 kB / 2.086 GB, free: 83.29 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004153/5.185, allocations: 2.056 MB / 2.088 GB, free: 83.16 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.097e-05/5.185, allocations: 14.72 kB / 2.088 GB, free: 83.16 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/5.185, allocations: 1.438 kB / 2.088 GB, free: 83.16 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/5.185, allocations: 2.953 kB / 2.088 GB, free: 83.16 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005708/5.191, allocations: 3.294 MB / 2.091 GB, free: 82.76 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/5.191, allocations: 0 / 2.091 GB, free: 82.76 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/5.192, allocations: 235.5 kB / 2.091 GB, free: 82.76 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.176e-05/5.192, allocations: 6.844 kB / 2.091 GB, free: 82.76 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.503e-05/5.192, allocations: 33.62 kB / 2.091 GB, free: 82.76 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.985e-06/5.192, allocations: 6.312 kB / 2.091 GB, free: 82.76 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/5.192, allocations: 7.672 kB / 2.091 GB, free: 82.75 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004583/5.196, allocations: 2.749 MB / 2.094 GB, free: 82.34 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008915/5.197, allocations: 398.1 kB / 2.094 GB, free: 82.15 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002168/5.198, allocations: 11.59 kB / 2.094 GB, free: 82.15 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/5.199, allocations: 165.4 kB / 2.095 GB, free: 82.14 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/5.199, allocations: 75.16 kB / 2.095 GB, free: 82.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/5.199, allocations: 54.22 kB / 2.095 GB, free: 82.14 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001073/5.2, allocations: 0.6776 MB / 2.095 GB, free: 82.03 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/5.2, allocations: 0 / 2.095 GB, free: 82.03 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003064/5.203, allocations: 0.8882 MB / 2.096 GB, free: 81.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (heaHigPowOut.T,cooLimPowOut.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 (104): * Single equations (assignments): 82 * 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.001809/5.205, allocations: 0.9932 MB / 2.097 GB, free: 81.66 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002773/5.208, allocations: 2.207 MB / 2.099 GB, free: 81.25 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/5.208, allocations: 0 / 2.099 GB, free: 81.25 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008868/5.209, allocations: 0.8887 MB / 2.1 GB, free: 81.05 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002662/5.211, allocations: 0.5332 MB / 2.101 GB, free: 81.05 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004252/5.216, allocations: 2.418 MB / 2.103 GB, free: 80.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006684/5.216, allocations: 1.31 MB / 2.104 GB, free: 79.68 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002114/5.218, allocations: 490.7 kB / 2.105 GB, free: 79.66 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000287/5.219, allocations: 118.1 kB / 2.105 GB, free: 79.66 MB / 0.698 GB Notification: Performance of SimCode: time 7.92e-07/5.219, allocations: 0 / 2.105 GB, free: 79.66 MB / 0.698 GB Notification: Performance of Templates: time 0.04807/5.267, allocations: 31.74 MB / 2.136 GB, free: 77.45 MB / 0.698 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)