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.0008107/0.0008107, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.0008182/0.0008182, allocations: 177.9 kB / 23.22 MB, free: 1.352 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.9035/0.9035, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.001381/0.001381, allocations: 233.1 kB / 260.2 MB, free: 13.04 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.6886/0.6886, allocations: 138.4 MB / 455.1 MB, free: 30.06 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.054e-06/2.054e-06, allocations: 0 / 0.6475 GB, free: 1.352 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.868e-05/3.074e-05, allocations: 2.281 kB / 0.6475 GB, free: 1.348 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.4797/0.4797, allocations: 171.2 MB / 0.8147 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.007979/0.4877, allocations: 5.022 MB / 0.8196 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001118/0.4888, allocations: 63.44 kB / 0.8197 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001721/0.4905, allocations: 0.8116 MB / 0.8205 GB, free: 9.543 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.005827/0.4963, allocations: 2.779 MB / 0.8232 GB, free: 6.75 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002554/0.4989, allocations: 1.086 MB / 0.8243 GB, free: 5.664 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.002868/0.5018, allocations: 2.765 MB / 0.827 GB, free: 2.891 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008542/0.5026, allocations: 0.7549 MB / 0.8277 GB, free: 2.125 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001705/0.5043, allocations: 1.473 MB / 0.8291 GB, free: 0.6484 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009015/0.5052, allocations: 0.935 MB / 0.8301 GB, free: 15.71 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001023/0.5053, allocations: 88 kB / 0.8301 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002982/0.5083, allocations: 1.515 MB / 0.8316 GB, free: 14.11 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0003491/0.5087, allocations: 498.4 kB / 0.8321 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0003619/0.509, allocations: 450.8 kB / 0.8325 GB, free: 13.18 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.002236/0.5113, allocations: 2.239 MB / 0.8347 GB, free: 10.93 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.5113, allocations: 0 / 0.8347 GB, free: 10.93 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.325e-06/0.5113, allocations: 0 / 0.8347 GB, free: 10.93 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.377e-05/0.5113, allocations: 0 / 0.8347 GB, free: 10.93 MB / 0.6667 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.002988/0.5143, allocations: 1.944 MB / 0.8366 GB, free: 8.941 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.61e-05/0.5143, allocations: 10.59 kB / 0.8366 GB, free: 8.934 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002622/0.5169, allocations: 0.908 MB / 0.8375 GB, free: 8.023 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.5183, allocations: 0.8724 MB / 0.8384 GB, free: 7.109 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.592e-05/0.5183, allocations: 73.94 kB / 0.8384 GB, free: 7.039 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.5184, allocations: 99.88 kB / 0.8385 GB, free: 6.941 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00215/0.5206, allocations: 1.587 MB / 0.8401 GB, free: 5.32 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/0.5206, allocations: 0 / 0.8401 GB, free: 5.32 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.041e-05/0.5207, allocations: 41.67 kB / 0.8401 GB, free: 5.281 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.815e-05/0.5207, allocations: 49.98 kB / 0.8402 GB, free: 5.234 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002788/0.5235, allocations: 1.862 MB / 0.842 GB, free: 3.367 MB / 0.6667 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.004703/0.5282, allocations: 3.788 MB / 0.8457 GB, free: 15.51 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002318/0.5305, allocations: 1.531 MB / 0.8472 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00118/0.5317, allocations: 0.825 MB / 0.848 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004693/0.5322, allocations: 188.8 kB / 0.8482 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001315/0.5335, allocations: 0.9227 MB / 0.8491 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=95): time 3.877e-06/0.5335, allocations: 4 kB / 0.8491 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of matching and sorting (n=95): time 0.004037/0.5376, allocations: 2.467 MB / 0.8515 GB, free: 9.547 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.5376, allocations: 64.41 kB / 0.8515 GB, free: 9.469 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008938/0.5385, allocations: 1.043 MB / 0.8526 GB, free: 8.406 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.311e-05/0.5386, allocations: 49.7 kB / 0.8526 GB, free: 8.352 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002969/0.5389, allocations: 0.5677 MB / 0.8532 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001868/0.5391, allocations: 341.1 kB / 0.8535 GB, free: 7.441 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002123/0.5393, allocations: 186.6 kB / 0.8537 GB, free: 7.254 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.462e-05/0.5394, allocations: 345.9 kB / 0.854 GB, free: 6.91 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00111/0.5405, allocations: 0.7104 MB / 0.8547 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001291/0.5418, allocations: 1.145 MB / 0.8558 GB, free: 4.934 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002226/0.544, allocations: 1.558 MB / 0.8573 GB, free: 3.32 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.544, allocations: 4 kB / 0.8573 GB, free: 3.316 MB / 0.6823 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00259/0.5466, allocations: 1.798 MB / 0.8591 GB, free: 1.508 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.5466, allocations: 7.938 kB / 0.8591 GB, free: 1.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.5466, allocations: 4 kB / 0.8591 GB, free: 1.496 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.5466, allocations: 12 kB / 0.8591 GB, free: 1.484 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009375/0.5476, allocations: 336 kB / 0.8594 GB, free: 1.156 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.619e-05/0.5476, allocations: 17.02 kB / 0.8594 GB, free: 1.141 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006851/0.5483, allocations: 211.3 kB / 0.8596 GB, free: 0.9336 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.395e-05/0.5484, allocations: 47.97 kB / 0.8597 GB, free: 0.8867 MB / 0.6823 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.0003961/0.5487, allocations: 332.1 kB / 0.86 GB, free: 0.5547 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.5489, allocations: 127.2 kB / 0.8601 GB, free: 440 kB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002741/0.5516, allocations: 1.857 MB / 0.8619 GB, free: 14.57 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.5516, allocations: 11.98 kB / 0.8619 GB, free: 14.56 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.5516, allocations: 1.125 kB / 0.862 GB, free: 14.56 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.5516, allocations: 11.92 kB / 0.862 GB, free: 14.55 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003998/0.5556, allocations: 3.119 MB / 0.865 GB, free: 11.35 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.5556, allocations: 4 kB / 0.865 GB, free: 11.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007671/0.5564, allocations: 304.1 kB / 0.8653 GB, free: 11.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.196e-05/0.5564, allocations: 8 kB / 0.8653 GB, free: 11.04 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.355e-05/0.5565, allocations: 40.7 kB / 0.8653 GB, free: 11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.596e-06/0.5565, allocations: 13.31 kB / 0.8654 GB, free: 10.99 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.696e-06/0.5565, allocations: 8 kB / 0.8654 GB, free: 10.98 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003992/0.5605, allocations: 2.889 MB / 0.8682 GB, free: 8.023 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003286/0.5608, allocations: 238.9 kB / 0.8684 GB, free: 7.789 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.966e-05/0.5609, allocations: 28 kB / 0.8684 GB, free: 7.762 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005862/0.5615, allocations: 155.8 kB / 0.8686 GB, free: 7.609 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.5616, allocations: 76.81 kB / 0.8687 GB, free: 7.535 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.925e-05/0.5617, allocations: 46.34 kB / 0.8687 GB, free: 7.492 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006306/0.5623, allocations: 0.7258 MB / 0.8694 GB, free: 6.758 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.11e-07/0.5623, allocations: 0 / 0.8694 GB, free: 6.758 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007881/0.5631, allocations: 363.4 kB / 0.8698 GB, free: 6.402 MB / 0.698 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.001171/0.5643, allocations: 0.5642 MB / 0.8703 GB, free: 6.066 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002551/0.5668, allocations: 1.609 MB / 0.8719 GB, free: 4.453 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5668, allocations: 0 / 0.8719 GB, free: 4.453 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001212/0.568, allocations: 0.8341 MB / 0.8727 GB, free: 3.625 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/0.5692, allocations: 482.7 kB / 0.8732 GB, free: 3.164 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003777/0.573, allocations: 2.967 MB / 0.8761 GB, free: 108 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004142/0.5734, allocations: 0.6105 MB / 0.8767 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003757/0.5738, allocations: 124.4 kB / 0.8768 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of SimCode: time 1.182e-06/0.5738, allocations: 3.938 kB / 0.8768 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of Templates: time 0.01879/0.5926, allocations: 20.62 MB / 0.8969 GB, free: 10.82 MB / 0.7292 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.237918890081346] Failed to read output from testmodel.py, exit status != 0: 0.6015612352639437 0.610273988 0.097046745 Calling exit ...