Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.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.001364/0.001364, allocations: 81.17 kB / 19.87 MB, free: 4.617 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.001137/0.001137, allocations: 169 kB / 23.28 MB, free: 1.219 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 0.9717/0.9717, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.001785/0.001785, allocations: 244.8 kB / 260.5 MB, free: 12.66 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.7638/0.7638, allocations: 138.4 MB / 455.5 MB, free: 30 MB / 410.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.5556 GB, free: 15.84 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.035e-05/4.244e-05, allocations: 2.312 kB / 0.5556 GB, free: 15.84 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.4005/0.4005, allocations: 147.8 MB / 0.7 GB, free: 51.55 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.008025/0.4086, allocations: 3.837 MB / 0.7037 GB, free: 51.11 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002045/0.4106, allocations: 67.28 kB / 0.7038 GB, free: 51.07 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001207/0.4118, allocations: 0.532 MB / 0.7043 GB, free: 50.91 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.003371/0.4152, allocations: 1.314 MB / 0.7056 GB, free: 50.53 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002789/0.418, allocations: 1.084 MB / 0.7066 GB, free: 50.11 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.003931/0.4219, allocations: 2.75 MB / 0.7093 GB, free: 48.98 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001502/0.4234, allocations: 0.7957 MB / 0.7101 GB, free: 48.55 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002689/0.4261, allocations: 1.427 MB / 0.7115 GB, free: 48.1 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001336/0.4274, allocations: 0.8654 MB / 0.7123 GB, free: 47.93 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002672/0.4277, allocations: 87.34 kB / 0.7124 GB, free: 47.93 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001082/0.4288, allocations: 418.8 kB / 0.7128 GB, free: 47.85 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003892/0.4292, allocations: 495.5 kB / 0.7133 GB, free: 47.64 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005185/0.4297, allocations: 446.2 kB / 0.7137 GB, free: 47.49 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001673/0.4314, allocations: 1.288 MB / 0.715 GB, free: 47.04 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4314, allocations: 4 kB / 0.715 GB, free: 47.04 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.252e-06/0.4314, allocations: 0 / 0.715 GB, free: 47.04 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.144e-05/0.4314, allocations: 3.938 kB / 0.715 GB, free: 47.04 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.003191/0.4346, allocations: 1.895 MB / 0.7168 GB, free: 45.92 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.4346, allocations: 17.53 kB / 0.7168 GB, free: 45.92 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002748/0.4374, allocations: 0.7918 MB / 0.7176 GB, free: 45.74 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001239/0.4386, allocations: 0.8898 MB / 0.7185 GB, free: 45.25 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.081e-05/0.4387, allocations: 72.7 kB / 0.7186 GB, free: 45.22 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/0.4388, allocations: 91.94 kB / 0.7186 GB, free: 45.19 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/0.4403, allocations: 0.9707 MB / 0.7196 GB, free: 44.91 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.4404, allocations: 2.875 kB / 0.7196 GB, free: 44.91 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-05/0.4404, allocations: 32.27 kB / 0.7196 GB, free: 44.89 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.291e-05/0.4405, allocations: 47 kB / 0.7197 GB, free: 44.89 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009548/0.4414, allocations: 0.5645 MB / 0.7202 GB, free: 44.82 MB / 0.5573 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.003991/0.4454, allocations: 3.408 MB / 0.7235 GB, free: 42.7 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009155/0.4463, allocations: 0.6174 MB / 0.7242 GB, free: 42.56 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002976/0.4466, allocations: 273.9 kB / 0.7244 GB, free: 42.49 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000242/0.4469, allocations: 68.62 kB / 0.7245 GB, free: 42.47 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004354/0.4473, allocations: 398.2 kB / 0.7249 GB, free: 42.25 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=95): time 3.616e-06/0.4473, allocations: 0 / 0.7249 GB, free: 42.25 MB / 0.5573 GB Notification: Performance of matching and sorting (n=95): time 0.001543/0.4489, allocations: 0.9342 MB / 0.7258 GB, free: 41.91 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.4489, allocations: 65.33 kB / 0.7258 GB, free: 41.84 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005897/0.4495, allocations: 0.8972 MB / 0.7267 GB, free: 41.43 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.061e-05/0.4496, allocations: 47.19 kB / 0.7268 GB, free: 41.39 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002935/0.4499, allocations: 0.6343 MB / 0.7274 GB, free: 40.87 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001921/0.45, allocations: 346 kB / 0.7277 GB, free: 40.59 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002124/0.4503, allocations: 199.4 kB / 0.7279 GB, free: 40.49 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.824e-05/0.4503, allocations: 0.5188 MB / 0.7284 GB, free: 39.99 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000245/0.4506, allocations: 162.3 kB / 0.7286 GB, free: 39.95 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003862/0.451, allocations: 0.6521 MB / 0.7292 GB, free: 39.34 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000564/0.4515, allocations: 0.5626 MB / 0.7297 GB, free: 38.98 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.4515, allocations: 7.188 kB / 0.7297 GB, free: 38.98 MB / 0.5573 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.0009429/0.4525, allocations: 0.7548 MB / 0.7305 GB, free: 38.67 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.4525, allocations: 5.969 kB / 0.7305 GB, free: 38.67 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.4525, allocations: 5.219 kB / 0.7305 GB, free: 38.67 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.4525, allocations: 12.34 kB / 0.7305 GB, free: 38.67 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006516/0.4532, allocations: 259.8 kB / 0.7308 GB, free: 38.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.4532, allocations: 11.91 kB / 0.7308 GB, free: 38.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000512/0.4537, allocations: 132.7 kB / 0.7309 GB, free: 38.52 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.806e-05/0.4538, allocations: 41.3 kB / 0.7309 GB, free: 38.5 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0002781/0.4541, allocations: 216.6 kB / 0.7311 GB, free: 38.3 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.4542, allocations: 160.2 kB / 0.7313 GB, free: 38.21 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009388/0.4552, allocations: 0.795 MB / 0.7321 GB, free: 37.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.4552, allocations: 12.75 kB / 0.7321 GB, free: 37.8 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.4552, allocations: 2.719 kB / 0.7321 GB, free: 37.8 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.4552, allocations: 11.97 kB / 0.7321 GB, free: 37.79 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002024/0.4572, allocations: 1.747 MB / 0.7338 GB, free: 36.72 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.4572, allocations: 6.562 kB / 0.7338 GB, free: 36.72 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005861/0.4578, allocations: 210.6 kB / 0.734 GB, free: 36.67 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/0.4578, allocations: 5.438 kB / 0.734 GB, free: 36.67 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.73e-05/0.4579, allocations: 34.03 kB / 0.734 GB, free: 36.65 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.106e-06/0.4579, allocations: 12.22 kB / 0.7341 GB, free: 36.64 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.4579, allocations: 5.859 kB / 0.7341 GB, free: 36.64 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001285/0.4592, allocations: 1.251 MB / 0.7353 GB, free: 35.91 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002799/0.4594, allocations: 213.8 kB / 0.7355 GB, free: 35.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.225e-05/0.4595, allocations: 22.91 kB / 0.7355 GB, free: 35.74 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004054/0.4599, allocations: 77.48 kB / 0.7356 GB, free: 35.71 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.264e-05/0.46, allocations: 80.53 kB / 0.7357 GB, free: 35.66 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-05/0.4601, allocations: 34.72 kB / 0.7357 GB, free: 35.64 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003086/0.4604, allocations: 0.5234 MB / 0.7362 GB, free: 35.38 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.4e-07/0.4604, allocations: 0 / 0.7362 GB, free: 35.38 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0008006/0.4612, allocations: 372.7 kB / 0.7366 GB, free: 35.3 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,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 (101): * Single equations (assignments): 95 * 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.0009687/0.4622, allocations: 450.8 kB / 0.737 GB, free: 35.14 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0008682/0.463, allocations: 0.5817 MB / 0.7376 GB, free: 34.96 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.463, allocations: 0 / 0.7376 GB, free: 34.96 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003551/0.4634, allocations: 331.7 kB / 0.7379 GB, free: 34.85 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/0.4646, allocations: 0.5392 MB / 0.7384 GB, free: 34.57 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002794/0.4674, allocations: 2.362 MB / 0.7407 GB, free: 32.98 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001622/0.4675, allocations: 279.4 kB / 0.741 GB, free: 32.82 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007009/0.4682, allocations: 219.8 kB / 0.7412 GB, free: 32.69 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007568/0.469, allocations: 457.4 kB / 0.7416 GB, free: 32.52 MB / 0.5573 GB Notification: Performance of SimCode: time 1.472e-06/0.469, allocations: 0 / 0.7416 GB, free: 32.52 MB / 0.5573 GB Notification: Performance of Templates: time 0.02378/0.4928, allocations: 22.16 MB / 0.7633 GB, free: 14.72 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.570067544002086]