Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009277/0.0009276, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004917/0.004918, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.351/1.351, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001728/0.001728, allocations: 279 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9327/0.9327, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000421/0.000421, allocations: 15.75 kB / 0.5987 GB, free: 28.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1741, allocations: 88.55 MB / 0.6851 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.565/0.7392, allocations: 189 MB / 0.8697 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008645/0.7479, allocations: 5.137 MB / 0.8747 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001351/0.7493, allocations: 41.75 kB / 0.8747 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001889/0.7512, allocations: 0.7139 MB / 0.8754 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006011/0.7572, allocations: 2.451 MB / 0.8778 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002671/0.7599, allocations: 1.002 MB / 0.8788 GB, free: 7.137 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004002/0.7639, allocations: 3.531 MB / 0.8823 GB, free: 5.207 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001355/0.7653, allocations: 0.8024 MB / 0.883 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001913/0.7673, allocations: 0.9808 MB / 0.884 GB, free: 4.203 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001343/0.7686, allocations: 0.9799 MB / 0.885 GB, free: 3.289 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001306/0.7688, allocations: 48 kB / 0.885 GB, free: 3.242 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003675/0.7724, allocations: 2.065 MB / 0.887 GB, free: 1.172 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004409/0.7729, allocations: 406.6 kB / 0.8874 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006922/0.7736, allocations: 0.6348 MB / 0.888 GB, free: 132 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003224/0.7768, allocations: 2.215 MB / 0.8902 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.7768, allocations: 0 / 0.8902 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7769, allocations: 0 / 0.8902 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.582e-05/0.7769, allocations: 0 / 0.8902 GB, free: 13.91 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.004514/0.7814, allocations: 1.674 MB / 0.8918 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.7815, allocations: 8.031 kB / 0.8918 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004468/0.7859, allocations: 0.7474 MB / 0.8926 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001399/0.7873, allocations: 0.8864 MB / 0.8934 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.543e-05/0.7874, allocations: 77.97 kB / 0.8935 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001718/0.7876, allocations: 84 kB / 0.8936 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003149/0.7908, allocations: 1.484 MB / 0.895 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.7908, allocations: 0 / 0.895 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.7909, allocations: 35.98 kB / 0.8951 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.565e-05/0.791, allocations: 49.98 kB / 0.8951 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004213/0.7952, allocations: 1.581 MB / 0.8967 GB, free: 7.109 MB / 0.6075 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.006779/0.802, allocations: 5.046 MB / 0.9016 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003418/0.8054, allocations: 1.241 MB / 0.9028 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001702/0.8071, allocations: 0.6772 MB / 0.9035 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001336/0.8085, allocations: 0.9644 MB / 0.9044 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001874/0.8104, allocations: 0.7264 MB / 0.9051 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=82): time 5.48e-06/0.8104, allocations: 0 / 0.9051 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82): time 0.005936/0.8163, allocations: 1.995 MB / 0.9071 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.8164, allocations: 60.06 kB / 0.9071 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001506/0.8179, allocations: 1.271 MB / 0.9084 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001001/0.818, allocations: 49.7 kB / 0.9084 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004277/0.8185, allocations: 0.5755 MB / 0.909 GB, free: 10 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002635/0.8187, allocations: 280.1 kB / 0.9092 GB, free: 9.723 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.8189, allocations: 73.67 kB / 0.9093 GB, free: 9.645 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.819, allocations: 353.8 kB / 0.9096 GB, free: 9.293 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001599/0.8206, allocations: 0.5523 MB / 0.9102 GB, free: 8.742 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001814/0.8224, allocations: 0.8325 MB / 0.911 GB, free: 7.801 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003344/0.8258, allocations: 1.363 MB / 0.9123 GB, free: 6.344 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.8258, allocations: 0 / 0.9123 GB, free: 6.344 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004002/0.8298, allocations: 1.538 MB / 0.9138 GB, free: 4.797 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.8299, allocations: 8 kB / 0.9138 GB, free: 4.789 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.8299, allocations: 8.812 kB / 0.9138 GB, free: 4.781 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/0.8299, allocations: 12 kB / 0.9139 GB, free: 4.77 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/0.8313, allocations: 307.5 kB / 0.9141 GB, free: 4.469 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.018e-05/0.8314, allocations: 15.94 kB / 0.9142 GB, free: 4.453 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/0.8328, allocations: 222.7 kB / 0.9144 GB, free: 4.234 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.729e-05/0.833, allocations: 51.97 kB / 0.9144 GB, free: 4.184 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * 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.0005216/0.8335, allocations: 340.3 kB / 0.9147 GB, free: 3.844 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001968/0.8337, allocations: 138.3 kB / 0.9149 GB, free: 3.707 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003938/0.8376, allocations: 1.468 MB / 0.9163 GB, free: 2.23 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.8377, allocations: 11.98 kB / 0.9163 GB, free: 2.219 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.8377, allocations: 0 / 0.9163 GB, free: 2.219 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.8377, allocations: 3.984 kB / 0.9163 GB, free: 2.215 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005762/0.8435, allocations: 2.897 MB / 0.9192 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.8435, allocations: 4 kB / 0.9192 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001252/0.8447, allocations: 232.2 kB / 0.9194 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.144e-05/0.8448, allocations: 8 kB / 0.9194 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.423e-05/0.8449, allocations: 31.97 kB / 0.9194 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.2e-05/0.8449, allocations: 12.48 kB / 0.9194 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.8449, allocations: 4 kB / 0.9194 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005547/0.8504, allocations: 2.338 MB / 0.9217 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006177/0.8511, allocations: 319.1 kB / 0.922 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001666/0.8513, allocations: 23.98 kB / 0.922 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/0.8524, allocations: 131.9 kB / 0.9222 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.8525, allocations: 64.36 kB / 0.9222 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.157e-05/0.8526, allocations: 39.97 kB / 0.9223 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001083/0.8537, allocations: 0.8684 MB / 0.9231 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8537, allocations: 0 / 0.9231 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001073/0.8548, allocations: 327.6 kB / 0.9234 GB, free: 10.75 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001341/0.8562, allocations: 0.5398 MB / 0.924 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003725/0.8599, allocations: 1.32 MB / 0.9252 GB, free: 9.059 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.8599, allocations: 0 / 0.9252 GB, free: 9.059 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001793/0.8617, allocations: 0.6755 MB / 0.9259 GB, free: 8.379 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003746/0.8655, allocations: 0.5992 MB / 0.9265 GB, free: 7.781 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005233/0.8707, allocations: 3.05 MB / 0.9295 GB, free: 4.652 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007521/0.8715, allocations: 1.171 MB / 0.9306 GB, free: 3.449 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001597/0.8731, allocations: 354.2 kB / 0.931 GB, free: 3.102 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000381/0.8735, allocations: 115.4 kB / 0.9311 GB, free: 2.988 MB / 0.6387 GB Notification: Performance of SimCode: time 2.375e-06/0.8735, allocations: 0 / 0.9311 GB, free: 2.988 MB / 0.6387 GB Notification: Performance of Templates: time 0.03619/0.9097, allocations: 21.99 MB / 0.9525 GB, free: 13.32 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)