Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009537/0.0009537, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.107/1.107, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002611/0.002611, allocations: 253.4 kB / 260.5 MB, free: 12.69 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.722/0.722, allocations: 138.4 MB / 402.2 MB, free: 0.5117 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 462.3 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.277e-05/2.448e-05, allocations: 6.703 kB / 462.4 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.1346/0.1346, allocations: 149.9 MB / 0.5979 GB, free: 12.43 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.006298/0.1409, allocations: 3.919 MB / 0.6018 GB, free: 8.512 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008051/0.1417, allocations: 63.38 kB / 0.6018 GB, free: 8.449 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0009054/0.1426, allocations: 0.5281 MB / 0.6023 GB, free: 7.918 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002111/0.1447, allocations: 1.317 MB / 0.6036 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001804/0.1465, allocations: 1.076 MB / 0.6047 GB, free: 5.516 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002656/0.1492, allocations: 2.671 MB / 0.6073 GB, free: 2.84 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001078/0.1503, allocations: 0.7425 MB / 0.608 GB, free: 2.09 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001706/0.152, allocations: 1.399 MB / 0.6094 GB, free: 0.6875 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009272/0.1529, allocations: 0.7555 MB / 0.6101 GB, free: 15.93 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001497/0.153, allocations: 76 kB / 0.6102 GB, free: 15.86 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007815/0.1538, allocations: 407.1 kB / 0.6106 GB, free: 15.46 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003226/0.1541, allocations: 478.4 kB / 0.611 GB, free: 14.99 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004022/0.1545, allocations: 430.8 kB / 0.6114 GB, free: 14.57 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.00138/0.1559, allocations: 1.23 MB / 0.6126 GB, free: 13.33 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1559, allocations: 8 kB / 0.6126 GB, free: 13.32 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1559, allocations: 0 / 0.6126 GB, free: 13.32 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.458e-05/0.156, allocations: 4 kB / 0.6127 GB, free: 13.32 MB / 0.573 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.002512/0.1585, allocations: 1.718 MB / 0.6143 GB, free: 11.57 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.1585, allocations: 8.75 kB / 0.6143 GB, free: 11.56 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001419/0.1599, allocations: 0.5467 MB / 0.6149 GB, free: 11.02 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009619/0.1609, allocations: 0.7913 MB / 0.6156 GB, free: 10.17 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.858e-05/0.1609, allocations: 82.09 kB / 0.6157 GB, free: 10.09 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.161, allocations: 84 kB / 0.6158 GB, free: 10.01 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.1621, allocations: 0.9617 MB / 0.6167 GB, free: 8.969 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.1621, allocations: 3.938 kB / 0.6167 GB, free: 8.965 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.21e-05/0.1622, allocations: 44 kB / 0.6168 GB, free: 8.922 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.512e-05/0.1622, allocations: 41.98 kB / 0.6168 GB, free: 8.879 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006036/0.1628, allocations: 484.3 kB / 0.6173 GB, free: 8.406 MB / 0.573 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.003278/0.1661, allocations: 3.543 MB / 0.6208 GB, free: 4.738 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006855/0.1668, allocations: 0.5125 MB / 0.6213 GB, free: 4.219 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002122/0.167, allocations: 185.6 kB / 0.6214 GB, free: 4.035 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001912/0.1672, allocations: 60.59 kB / 0.6215 GB, free: 3.977 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003576/0.1675, allocations: 330.9 kB / 0.6218 GB, free: 3.641 MB / 0.573 GB Notification: Performance of pre-optimization done (n=80): time 2.134e-06/0.1675, allocations: 0 / 0.6218 GB, free: 3.641 MB / 0.573 GB Notification: Performance of matching and sorting (n=80): time 0.0009041/0.1685, allocations: 0.5329 MB / 0.6223 GB, free: 3.105 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.1685, allocations: 60.06 kB / 0.6224 GB, free: 3.031 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005549/0.169, allocations: 0.8786 MB / 0.6232 GB, free: 2.137 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 6.027e-05/0.1691, allocations: 41.7 kB / 0.6233 GB, free: 2.09 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000216/0.1693, allocations: 447 kB / 0.6237 GB, free: 1.645 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/0.1695, allocations: 285.5 kB / 0.624 GB, free: 1.363 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001851/0.1697, allocations: 182.4 kB / 0.6242 GB, free: 1.176 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 8.518e-05/0.1697, allocations: 345.8 kB / 0.6245 GB, free: 0.832 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/0.1699, allocations: 116.8 kB / 0.6246 GB, free: 0.7188 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004091/0.1704, allocations: 0.617 MB / 0.6252 GB, free: 15.95 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005343/0.1709, allocations: 0.5453 MB / 0.6257 GB, free: 15.3 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.1709, allocations: 4.75 kB / 0.6257 GB, free: 15.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.000696/0.1716, allocations: 0.5583 MB / 0.6263 GB, free: 14.73 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/0.1716, allocations: 8 kB / 0.6263 GB, free: 14.72 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.1716, allocations: 8 kB / 0.6263 GB, free: 14.71 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.1716, allocations: 12 kB / 0.6263 GB, free: 14.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005604/0.1722, allocations: 240.1 kB / 0.6265 GB, free: 14.47 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/0.1722, allocations: 20.7 kB / 0.6266 GB, free: 14.45 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004627/0.1727, allocations: 131.7 kB / 0.6267 GB, free: 14.32 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.155e-05/0.1727, allocations: 39.97 kB / 0.6267 GB, free: 14.28 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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.0002295/0.173, allocations: 184 kB / 0.6269 GB, free: 14.09 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.1731, allocations: 95.91 kB / 0.627 GB, free: 14 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006738/0.1738, allocations: 0.5303 MB / 0.6275 GB, free: 13.46 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.1738, allocations: 8 kB / 0.6275 GB, free: 13.45 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.1738, allocations: 0 / 0.6275 GB, free: 13.45 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.1738, allocations: 7.922 kB / 0.6275 GB, free: 13.45 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001681/0.1755, allocations: 1.342 MB / 0.6288 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.1755, allocations: 4 kB / 0.6288 GB, free: 12 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004546/0.1759, allocations: 180.2 kB / 0.629 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.326e-06/0.1759, allocations: 8.609 kB / 0.629 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.11e-05/0.176, allocations: 19.98 kB / 0.629 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.769e-06/0.176, allocations: 17.94 kB / 0.629 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.176, allocations: 4 kB / 0.629 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009065/0.1769, allocations: 0.8875 MB / 0.6299 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002114/0.1771, allocations: 167 kB / 0.6301 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.048e-05/0.1772, allocations: 23.98 kB / 0.6301 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003196/0.1775, allocations: 51.95 kB / 0.6301 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.806e-05/0.1776, allocations: 73.08 kB / 0.6302 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.38e-05/0.1776, allocations: 27.97 kB / 0.6302 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0003008/0.1779, allocations: 450.5 kB / 0.6307 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1779, allocations: 4 kB / 0.6307 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0006713/0.1786, allocations: 339.4 kB / 0.631 GB, free: 9.691 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,heaCooUnl.Xi) * 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 (86): * Single equations (assignments): 80 * 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.001296/0.1799, allocations: 0.5805 MB / 0.6316 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0006536/0.1806, allocations: 472.4 kB / 0.632 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.476e-05/0.1806, allocations: 12 kB / 0.632 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002761/0.1809, allocations: 243.5 kB / 0.6323 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.1819, allocations: 0.493 MB / 0.6327 GB, free: 8.266 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002562/0.1845, allocations: 2.054 MB / 0.6347 GB, free: 6.125 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.1848, allocations: 264.9 kB / 0.635 GB, free: 5.84 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0005883/0.1854, allocations: 208.2 kB / 0.6352 GB, free: 5.641 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007036/0.1861, allocations: 367.1 kB / 0.6356 GB, free: 5.273 MB / 0.5886 GB Notification: Performance of SimCode: time 9.22e-07/0.1861, allocations: 3.938 kB / 0.6356 GB, free: 5.27 MB / 0.5886 GB Notification: Performance of Templates: time 0.02444/0.2105, allocations: 20.16 MB / 0.6552 GB, free: 1.656 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.344440734013915]