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.001611/0.001611, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001979/0.001979, allocations: 189.1 kB / 16.25 MB, free: 6.633 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.457/1.457, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002553/0.002553, allocations: 274.7 kB / 290.4 MB, free: 2.172 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.107/1.107, allocations: 178.6 MB / 0.5069 GB, free: 4.766 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002805/0.002806, allocations: 96.3 kB / 0.6059 GB, free: 25.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1848, allocations: 89.15 MB / 0.693 GB, free: 4.781 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.5435/0.7283, allocations: 191.3 MB / 0.8798 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009112/0.7374, allocations: 5.127 MB / 0.8848 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001187/0.7386, allocations: 42.44 kB / 0.8848 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001746/0.7404, allocations: 0.7299 MB / 0.8856 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005877/0.7463, allocations: 2.443 MB / 0.8879 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002585/0.7489, allocations: 1.011 MB / 0.8889 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0034/0.7523, allocations: 2.617 MB / 0.8915 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001278/0.7536, allocations: 0.8882 MB / 0.8923 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001902/0.7555, allocations: 1.113 MB / 0.8934 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001268/0.7568, allocations: 1.023 MB / 0.8944 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001328/0.757, allocations: 80 kB / 0.8945 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003271/0.7602, allocations: 1.851 MB / 0.8963 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004618/0.7607, allocations: 450.6 kB / 0.8967 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007068/0.7614, allocations: 0.6546 MB / 0.8974 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003239/0.7647, allocations: 2.255 MB / 0.8996 GB, free: 8.434 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.7647, allocations: 0 / 0.8996 GB, free: 8.434 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7647, allocations: 3.938 kB / 0.8996 GB, free: 8.43 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.423e-05/0.7647, allocations: 0 / 0.8996 GB, free: 8.43 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.004897/0.7696, allocations: 1.93 MB / 0.9015 GB, free: 6.445 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.7697, allocations: 8.031 kB / 0.9015 GB, free: 6.438 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004405/0.7741, allocations: 0.7083 MB / 0.9022 GB, free: 5.727 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001539/0.7756, allocations: 0.8825 MB / 0.903 GB, free: 4.785 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.989e-05/0.7757, allocations: 70 kB / 0.9031 GB, free: 4.719 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001813/0.7759, allocations: 87.98 kB / 0.9032 GB, free: 4.633 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003636/0.7796, allocations: 1.465 MB / 0.9046 GB, free: 3.109 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.7796, allocations: 3.938 kB / 0.9046 GB, free: 3.105 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/0.7797, allocations: 36 kB / 0.9047 GB, free: 3.07 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.917e-05/0.7798, allocations: 45.98 kB / 0.9047 GB, free: 3.027 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004468/0.7843, allocations: 1.561 MB / 0.9062 GB, free: 1.465 MB / 0.6231 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.007957/0.7922, allocations: 5.026 MB / 0.9111 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003567/0.7958, allocations: 1.187 MB / 0.9123 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001893/0.7977, allocations: 0.6631 MB / 0.9129 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001466/0.7992, allocations: 0.9449 MB / 0.9139 GB, free: 9.191 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002069/0.8013, allocations: 0.7224 MB / 0.9146 GB, free: 8.457 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=82): time 3.026e-06/0.8013, allocations: 0 / 0.9146 GB, free: 8.457 MB / 0.6387 GB Notification: Performance of matching and sorting (n=82): time 0.006322/0.8076, allocations: 1.952 MB / 0.9165 GB, free: 6.496 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.671e-05/0.8077, allocations: 68.05 kB / 0.9165 GB, free: 6.418 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001721/0.8094, allocations: 1.271 MB / 0.9178 GB, free: 5.141 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001029/0.8096, allocations: 45.7 kB / 0.9178 GB, free: 5.09 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005124/0.8101, allocations: 0.5677 MB / 0.9184 GB, free: 4.516 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002951/0.8104, allocations: 280 kB / 0.9186 GB, free: 4.238 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003309/0.8107, allocations: 182.5 kB / 0.9188 GB, free: 4.051 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.8109, allocations: 345.9 kB / 0.9191 GB, free: 3.707 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001695/0.8126, allocations: 0.5484 MB / 0.9197 GB, free: 3.16 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001985/0.8146, allocations: 0.8208 MB / 0.9205 GB, free: 2.242 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003504/0.8181, allocations: 1.34 MB / 0.9218 GB, free: 0.8047 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.8181, allocations: 8 kB / 0.9218 GB, free: 0.7969 MB / 0.6387 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004412/0.8225, allocations: 1.517 MB / 0.9233 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/0.8226, allocations: 8 kB / 0.9233 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.8226, allocations: 4 kB / 0.9233 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.906e-05/0.8226, allocations: 12 kB / 0.9233 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001479/0.8241, allocations: 295.7 kB / 0.9236 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.148e-05/0.8242, allocations: 17.41 kB / 0.9236 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/0.8257, allocations: 218.6 kB / 0.9238 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/0.8258, allocations: 56 kB / 0.9239 GB, free: 14.67 MB / 0.6544 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.0006286/0.8264, allocations: 343.6 kB / 0.9242 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002541/0.8267, allocations: 134.3 kB / 0.9243 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004133/0.8308, allocations: 1.446 MB / 0.9257 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/0.8309, allocations: 11.98 kB / 0.9257 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.8309, allocations: 0 / 0.9257 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.8309, allocations: 3.984 kB / 0.9257 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00643/0.8373, allocations: 2.877 MB / 0.9286 GB, free: 9.742 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.709e-06/0.8374, allocations: 4 kB / 0.9286 GB, free: 9.738 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001326/0.8387, allocations: 215.7 kB / 0.9288 GB, free: 9.527 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.266e-05/0.8387, allocations: 8 kB / 0.9288 GB, free: 9.52 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.693e-05/0.8388, allocations: 31.97 kB / 0.9288 GB, free: 9.488 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.278e-05/0.8388, allocations: 9.875 kB / 0.9288 GB, free: 9.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.448e-06/0.8388, allocations: 11.88 kB / 0.9288 GB, free: 9.469 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005976/0.8449, allocations: 2.307 MB / 0.9311 GB, free: 7.102 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005299/0.8454, allocations: 303.2 kB / 0.9314 GB, free: 6.785 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000187/0.8456, allocations: 20 kB / 0.9314 GB, free: 6.766 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001224/0.8468, allocations: 123.8 kB / 0.9315 GB, free: 6.645 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/0.847, allocations: 68.38 kB / 0.9316 GB, free: 6.578 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.684e-05/0.8471, allocations: 35.97 kB / 0.9316 GB, free: 6.543 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001173/0.8482, allocations: 0.8723 MB / 0.9325 GB, free: 5.668 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8483, allocations: 0 / 0.9325 GB, free: 5.668 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001062/0.8493, allocations: 323.6 kB / 0.9328 GB, free: 5.352 MB / 0.6544 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.001785/0.8511, allocations: 0.5279 MB / 0.9333 GB, free: 4.996 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00421/0.8553, allocations: 1.437 MB / 0.9347 GB, free: 3.559 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.483e-06/0.8554, allocations: 4 kB / 0.9347 GB, free: 3.555 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001899/0.8573, allocations: 0.6599 MB / 0.9353 GB, free: 2.895 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002749/0.86, allocations: 0.633 MB / 0.936 GB, free: 2.281 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005334/0.8654, allocations: 2.98 MB / 0.9389 GB, free: 15.22 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009357/0.8663, allocations: 1.171 MB / 0.94 GB, free: 14.02 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001471/0.8678, allocations: 354.2 kB / 0.9403 GB, free: 13.67 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003978/0.8682, allocations: 107.4 kB / 0.9404 GB, free: 13.57 MB / 0.67 GB Notification: Performance of SimCode: time 7.42e-07/0.8682, allocations: 0 / 0.9404 GB, free: 13.57 MB / 0.67 GB Notification: Performance of Templates: time 0.03961/0.9078, allocations: 22.94 MB / 0.9628 GB, free: 6.969 MB / 0.6856 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)