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.001134/0.001134, allocations: 111.4 kB / 16.37 MB, free: 5.539 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.001208/0.001208, allocations: 193 kB / 17.31 MB, free: 5.18 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.282/1.282, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00208/0.00208, allocations: 283 kB / 291.4 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9209/0.9209, allocations: 169.3 MB / 0.4989 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001902, allocations: 94.5 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1639, allocations: 86.98 MB / 0.6816 GB, free: 7.438 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.4664/0.6304, allocations: 193.8 MB / 0.8709 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.008449/0.6389, allocations: 5.14 MB / 0.8759 GB, free: 7.422 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001051/0.64, allocations: 47.69 kB / 0.8759 GB, free: 7.375 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001718/0.6418, allocations: 0.812 MB / 0.8767 GB, free: 6.559 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005881/0.6477, allocations: 2.598 MB / 0.8793 GB, free: 3.949 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002541/0.6502, allocations: 1.109 MB / 0.8803 GB, free: 2.852 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003184/0.6534, allocations: 2.606 MB / 0.8829 GB, free: 244 kB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001638/0.6551, allocations: 0.8892 MB / 0.8838 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002145/0.6572, allocations: 1.082 MB / 0.8848 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001618/0.6589, allocations: 0.9573 MB / 0.8858 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002905/0.6592, allocations: 84 kB / 0.8858 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003385/0.6626, allocations: 1.781 MB / 0.8876 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005354/0.6631, allocations: 438.6 kB / 0.888 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001041/0.6642, allocations: 0.6564 MB / 0.8886 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003655/0.6678, allocations: 2.173 MB / 0.8908 GB, free: 8.152 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.6678, allocations: 3.938 kB / 0.8908 GB, free: 8.148 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.094e-06/0.6678, allocations: 7.938 kB / 0.8908 GB, free: 8.141 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.295e-05/0.6679, allocations: 0 / 0.8908 GB, free: 8.141 MB / 0.6544 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.004805/0.6727, allocations: 1.93 MB / 0.8926 GB, free: 6.156 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.6728, allocations: 8.031 kB / 0.8927 GB, free: 6.148 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004441/0.6772, allocations: 0.7044 MB / 0.8933 GB, free: 5.441 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001684/0.6789, allocations: 0.954 MB / 0.8943 GB, free: 4.43 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.049e-05/0.679, allocations: 73.98 kB / 0.8943 GB, free: 4.359 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/0.6792, allocations: 84 kB / 0.8944 GB, free: 4.277 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002883/0.682, allocations: 1.465 MB / 0.8959 GB, free: 2.754 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.6821, allocations: 3.938 kB / 0.8959 GB, free: 2.75 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/0.6822, allocations: 36 kB / 0.8959 GB, free: 2.715 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-05/0.6823, allocations: 45.98 kB / 0.8959 GB, free: 2.672 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003748/0.686, allocations: 1.557 MB / 0.8975 GB, free: 1.109 MB / 0.6544 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.006207/0.6922, allocations: 5.026 MB / 0.9024 GB, free: 11.82 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003201/0.6954, allocations: 1.189 MB / 0.9035 GB, free: 10.62 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001574/0.697, allocations: 0.6624 MB / 0.9042 GB, free: 9.957 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001218/0.6983, allocations: 0.9449 MB / 0.9051 GB, free: 8.828 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00175/0.7, allocations: 0.7147 MB / 0.9058 GB, free: 8.102 MB / 0.67 GB Notification: Performance of pre-optimization done (n=82): time 2.765e-06/0.7, allocations: 4 kB / 0.9058 GB, free: 8.098 MB / 0.67 GB Notification: Performance of matching and sorting (n=82): time 0.005495/0.7055, allocations: 1.956 MB / 0.9077 GB, free: 6.133 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.7056, allocations: 68.06 kB / 0.9078 GB, free: 6.055 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/0.7069, allocations: 1.26 MB / 0.909 GB, free: 4.789 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.253e-05/0.707, allocations: 45.7 kB / 0.909 GB, free: 4.738 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003976/0.7074, allocations: 0.5716 MB / 0.9096 GB, free: 4.16 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002145/0.7077, allocations: 280 kB / 0.9099 GB, free: 3.883 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002922/0.708, allocations: 182.5 kB / 0.91 GB, free: 3.699 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.7081, allocations: 349.8 kB / 0.9104 GB, free: 3.352 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001472/0.7096, allocations: 0.5484 MB / 0.9109 GB, free: 2.801 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001689/0.7113, allocations: 0.8241 MB / 0.9117 GB, free: 1.883 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003022/0.7143, allocations: 1.34 MB / 0.913 GB, free: 460 kB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.7143, allocations: 4 kB / 0.913 GB, free: 456 kB / 0.67 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003578/0.7179, allocations: 1.515 MB / 0.9145 GB, free: 14.92 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.7179, allocations: 8 kB / 0.9145 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.718, allocations: 5.562 kB / 0.9145 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.718, allocations: 12 kB / 0.9145 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/0.7194, allocations: 303.8 kB / 0.9148 GB, free: 14.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.109e-05/0.7194, allocations: 12 kB / 0.9148 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/0.7206, allocations: 198.7 kB / 0.915 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.953e-05/0.7207, allocations: 55.91 kB / 0.9151 GB, free: 14.34 MB / 0.6856 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.0004701/0.7212, allocations: 339.7 kB / 0.9154 GB, free: 14 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001766/0.7214, allocations: 134.3 kB / 0.9155 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003543/0.7249, allocations: 1.448 MB / 0.9169 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.725, allocations: 8 kB / 0.917 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.725, allocations: 0 / 0.917 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.725, allocations: 3.984 kB / 0.917 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005418/0.7304, allocations: 2.862 MB / 0.9198 GB, free: 9.43 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.7304, allocations: 7.938 kB / 0.9198 GB, free: 9.422 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/0.7316, allocations: 228.2 kB / 0.92 GB, free: 9.199 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.017e-05/0.7316, allocations: 8 kB / 0.92 GB, free: 9.191 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-05/0.7317, allocations: 31.97 kB / 0.92 GB, free: 9.16 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.427e-06/0.7317, allocations: 5.125 kB / 0.92 GB, free: 9.156 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.7318, allocations: 11.94 kB / 0.92 GB, free: 9.145 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005165/0.7369, allocations: 2.303 MB / 0.9223 GB, free: 6.777 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005275/0.7375, allocations: 307.2 kB / 0.9226 GB, free: 6.457 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000163/0.7376, allocations: 19.98 kB / 0.9226 GB, free: 6.438 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/0.7387, allocations: 115.9 kB / 0.9227 GB, free: 6.324 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.7389, allocations: 64.45 kB / 0.9228 GB, free: 6.262 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.133e-05/0.7389, allocations: 39.92 kB / 0.9228 GB, free: 6.223 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.000977/0.7399, allocations: 0.8723 MB / 0.9237 GB, free: 5.348 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.2e-07/0.7399, allocations: 0 / 0.9237 GB, free: 5.348 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008916/0.7408, allocations: 319.7 kB / 0.924 GB, free: 5.035 MB / 0.6856 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.001187/0.742, allocations: 0.5372 MB / 0.9245 GB, free: 4.66 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003433/0.7455, allocations: 1.312 MB / 0.9258 GB, free: 3.348 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.7455, allocations: 0 / 0.9258 GB, free: 3.348 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001752/0.7473, allocations: 0.6599 MB / 0.9264 GB, free: 2.691 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002454/0.7497, allocations: 0.6304 MB / 0.927 GB, free: 2.078 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004719/0.7544, allocations: 2.573 MB / 0.9295 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006746/0.7551, allocations: 1.171 MB / 0.9307 GB, free: 14.22 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.00115/0.7563, allocations: 346.2 kB / 0.931 GB, free: 13.88 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003725/0.7567, allocations: 111.4 kB / 0.9311 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of SimCode: time 5.71e-07/0.7567, allocations: 0 / 0.9311 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of Templates: time 0.03647/0.7932, allocations: 23.12 MB / 0.9537 GB, free: 7.016 MB / 0.7169 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)