Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 101.7 kB / 19.59 MB, free: 2.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 190.1 kB / 22.85 MB, free: 5.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 225.6 MB / 251.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002459/0.002459, allocations: 293.2 kB / 307 MB, free: 8.367 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.214/1.214, allocations: 180.8 MB / 0.5304 GB, free: 14.54 MB / 382.1 MB " [Timeout remaining time 179] 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.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5") translateModel(BuildingSystems.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002747/0.002747, allocations: 105.3 kB / 0.7311 GB, free: 38.53 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1545, allocations: 94.21 MB / 0.8231 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example5): time 0.001595/0.1561, allocations: 0.5315 MB / 0.8236 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001677/0.1563, allocations: 31.88 kB / 0.8236 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.162e-05/0.1564, allocations: 3.938 kB / 0.8236 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.532e-05/0.1564, allocations: 0 / 0.8236 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.1565, allocations: 7.984 kB / 0.8236 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 5.382e-05/0.1566, allocations: 11.92 kB / 0.8237 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.349e-05/0.1566, allocations: 8 kB / 0.8237 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.34e-05/0.1567, allocations: 8.328 kB / 0.8237 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.738e-05/0.1567, allocations: 8 kB / 0.8237 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.707e-05/0.1568, allocations: 8 kB / 0.8237 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.1568, allocations: 0 / 0.8237 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.772e-06/0.1568, allocations: 3.938 kB / 0.8237 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.092e-05/0.1568, allocations: 15.91 kB / 0.8237 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.442e-05/0.1569, allocations: 3.938 kB / 0.8237 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 6.3e-05/0.1569, allocations: 11.92 kB / 0.8237 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1569, allocations: 0 / 0.8237 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1569, allocations: 0 / 0.8237 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.1569, allocations: 0 / 0.8237 GB, free: 1.25 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004034/0.1574, allocations: 262.3 kB / 0.824 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.1574, allocations: 12.03 kB / 0.824 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.305e-05/0.1574, allocations: 4.891 kB / 0.824 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.1576, allocations: 118.5 kB / 0.8241 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.1576, allocations: 4.375 kB / 0.8241 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.1576, allocations: 384 / 0.8241 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.973e-05/0.1577, allocations: 34.25 kB / 0.8241 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.1577, allocations: 4.172 kB / 0.8241 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.1577, allocations: 11.94 kB / 0.8242 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.1577, allocations: 0 / 0.8242 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.76e-05/0.1577, allocations: 4 kB / 0.8242 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001539/0.1579, allocations: 128.7 kB / 0.8243 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.09e-05/0.1579, allocations: 18.58 kB / 0.8243 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.023e-05/0.158, allocations: 8.844 kB / 0.8243 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.158, allocations: 3.938 kB / 0.8243 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.158, allocations: 38.62 kB / 0.8243 GB, free: 496 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.158, allocations: 4 kB / 0.8244 GB, free: 492 kB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001415/0.1582, allocations: 49.52 kB / 0.8244 GB, free: 436 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.1582, allocations: 51.41 kB / 0.8244 GB, free: 372 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.1583, allocations: 109.8 kB / 0.8246 GB, free: 252 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.1583, allocations: 25.7 kB / 0.8246 GB, free: 220 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.705e-05/0.1584, allocations: 84.14 kB / 0.8247 GB, free: 132 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.1584, allocations: 4 kB / 0.8247 GB, free: 128 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.1584, allocations: 17.83 kB / 0.8247 GB, free: 104 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.1586, allocations: 314.8 kB / 0.825 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.488e-05/0.1586, allocations: 4 kB / 0.825 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.67e-05/0.1586, allocations: 17.7 kB / 0.825 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.123e-05/0.1587, allocations: 21.66 kB / 0.825 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1587, allocations: 64 / 0.825 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.886e-05/0.1588, allocations: 53.64 kB / 0.8251 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.1588, allocations: 8 kB / 0.8251 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1588, allocations: 3.938 kB / 0.8251 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.1588, allocations: 0 / 0.8251 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.169e-05/0.1589, allocations: 7.984 kB / 0.8251 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1589, allocations: 3.938 kB / 0.8251 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.318e-05/0.1589, allocations: 3.938 kB / 0.8251 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.1589, allocations: 4 kB / 0.8251 GB, free: 15.64 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 8.971e-05/0.159, allocations: 110.6 kB / 0.8252 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.095e-06/0.159, allocations: 0 / 0.8252 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001241/0.1591, allocations: 57.08 kB / 0.8253 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.1591, allocations: 0 / 0.8253 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1591, allocations: 0 / 0.8253 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.1591, allocations: 0 / 0.8253 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.1593, allocations: 132.7 kB / 0.8254 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1593, allocations: 0 / 0.8254 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.835e-05/0.1593, allocations: 4 kB / 0.8254 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1593, allocations: 0 / 0.8254 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.1593, allocations: 7.969 kB / 0.8254 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1593, allocations: 256 / 0.8254 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1593, allocations: 3.938 kB / 0.8254 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.1594, allocations: 89 kB / 0.8255 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.761e-05/0.1595, allocations: 4 kB / 0.8255 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.1595, allocations: 7.969 kB / 0.8255 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.119e-05/0.1595, allocations: 0 / 0.8255 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.968e-06/0.1595, allocations: 8.078 kB / 0.8255 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.1595, allocations: 0 / 0.8255 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.001e-05/0.1596, allocations: 87.28 kB / 0.8256 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1596, allocations: 0 / 0.8256 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001763/0.1598, allocations: 4 kB / 0.8256 GB, free: 15.05 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 8.992e-05/0.1598, allocations: 95.23 kB / 0.8257 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 8.128e-05/0.1599, allocations: 15.94 kB / 0.8257 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1599, allocations: 128 / 0.8257 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.923e-05/0.1599, allocations: 15.98 kB / 0.8257 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.1601, allocations: 0 / 0.8257 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002694/0.1603, allocations: 121.5 kB / 0.8258 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.1607, allocations: 0.6768 MB / 0.8265 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.724e-05/0.1607, allocations: 4 kB / 0.8265 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.261e-05/0.1607, allocations: 7.438 kB / 0.8265 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of SimCode: time 3.2e-07/0.1607, allocations: 0 / 0.8265 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of Templates: time 0.002366/0.1631, allocations: 350.1 kB / 0.8268 GB, free: 13.72 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.771281041903421] Failed to read output from testmodel.py, exit status != 0: 0.1699420539662242 0.18518030700000002 0.025081053000000002 Calling exit ...