Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.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.00148/0.00148, allocations: 109.8 kB / 19.58 MB, free: 2.336 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.001291/0.001291, allocations: 189.3 kB / 22.85 MB, free: 5.641 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.334/1.334, allocations: 225.6 MB / 251.5 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 179] 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.002416/0.002416, allocations: 290.1 kB / 307 MB, free: 8.43 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.155/1.155, allocations: 180.8 MB / 0.5304 GB, free: 14.41 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.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8") translateModel(BuildingSystems.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002724/0.002724, allocations: 102 kB / 0.7311 GB, free: 38.79 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1371, allocations: 94.19 MB / 0.823 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example8): time 0.001587/0.1387, allocations: 0.5358 MB / 0.8236 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001129/0.1388, allocations: 23.89 kB / 0.8236 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.431e-05/0.1388, allocations: 0 / 0.8236 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.872e-05/0.1388, allocations: 3.938 kB / 0.8236 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.1389, allocations: 0 / 0.8236 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.116e-06/0.1389, allocations: 4 kB / 0.8236 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.756e-05/0.139, allocations: 4 kB / 0.8236 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.869e-05/0.139, allocations: 3.984 kB / 0.8236 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.607e-05/0.1391, allocations: 11.88 kB / 0.8236 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.883e-05/0.1391, allocations: 0 / 0.8236 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.1391, allocations: 0 / 0.8236 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.08e-06/0.1391, allocations: 0 / 0.8236 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.396e-06/0.1391, allocations: 0 / 0.8236 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.698e-05/0.1391, allocations: 7.984 kB / 0.8236 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 3.742e-05/0.1392, allocations: 3.938 kB / 0.8236 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1392, allocations: 4 kB / 0.8236 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1392, allocations: 4 kB / 0.8236 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.137e-06/0.1392, allocations: 0 / 0.8236 GB, free: 1.352 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002558/0.1394, allocations: 244.4 kB / 0.8239 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.1395, allocations: 12.03 kB / 0.8239 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.073e-05/0.1395, allocations: 0.9375 kB / 0.8239 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.917e-05/0.1396, allocations: 102.5 kB / 0.824 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-06/0.1396, allocations: 384 / 0.824 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.1396, allocations: 4.375 kB / 0.824 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.1397, allocations: 55.91 kB / 0.824 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1397, allocations: 192 / 0.824 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.667e-06/0.1397, allocations: 3.938 kB / 0.824 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.045e-06/0.1397, allocations: 0 / 0.824 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.892e-05/0.1397, allocations: 4 kB / 0.824 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000135/0.1399, allocations: 122 kB / 0.8242 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.784e-05/0.1399, allocations: 49.16 kB / 0.8242 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.233e-05/0.14, allocations: 17.83 kB / 0.8242 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.14, allocations: 0 / 0.8242 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.14, allocations: 30.56 kB / 0.8242 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.14, allocations: 0 / 0.8242 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0001254/0.1401, allocations: 49.8 kB / 0.8243 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.56e-05/0.1402, allocations: 85.12 kB / 0.8244 GB, free: 428 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.356e-05/0.1402, allocations: 89.86 kB / 0.8245 GB, free: 328 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.1403, allocations: 25.7 kB / 0.8245 GB, free: 296 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.072e-05/0.1403, allocations: 80.14 kB / 0.8246 GB, free: 212 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/0.1403, allocations: 11.89 kB / 0.8246 GB, free: 200 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.964e-05/0.1403, allocations: 17.66 kB / 0.8246 GB, free: 176 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.1405, allocations: 310.8 kB / 0.8249 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.109e-05/0.1405, allocations: 12.06 kB / 0.8249 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.943e-05/0.1405, allocations: 13.7 kB / 0.8249 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.272e-05/0.1405, allocations: 21.72 kB / 0.8249 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1405, allocations: 0 / 0.8249 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.054e-05/0.1406, allocations: 37.64 kB / 0.825 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.1406, allocations: 4.125 kB / 0.825 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.1406, allocations: 15.92 kB / 0.825 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.1406, allocations: 0 / 0.825 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.021e-05/0.1407, allocations: 4 kB / 0.825 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.1407, allocations: 0 / 0.825 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.649e-05/0.1407, allocations: 0 / 0.825 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.1407, allocations: 4 kB / 0.825 GB, free: 15.73 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 6.631e-05/0.1408, allocations: 110.5 kB / 0.8251 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.624e-06/0.1408, allocations: 0 / 0.8251 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/0.1409, allocations: 60.56 kB / 0.8252 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.1409, allocations: 0 / 0.8252 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.1409, allocations: 4 kB / 0.8252 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1409, allocations: 0 / 0.8252 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.916e-05/0.141, allocations: 120.7 kB / 0.8253 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.141, allocations: 4 kB / 0.8253 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.47e-05/0.141, allocations: 3.938 kB / 0.8253 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.141, allocations: 4 kB / 0.8253 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.141, allocations: 11.92 kB / 0.8253 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.141, allocations: 4.062 kB / 0.8253 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.141, allocations: 0 / 0.8253 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.446e-05/0.1411, allocations: 69.94 kB / 0.8254 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.384e-05/0.1411, allocations: 4 kB / 0.8254 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.1412, allocations: 3.938 kB / 0.8254 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.452e-05/0.1412, allocations: 0 / 0.8254 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.844e-05/0.1412, allocations: 12.02 kB / 0.8254 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.113e-06/0.1412, allocations: 0 / 0.8254 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.342e-05/0.1412, allocations: 75.28 kB / 0.8255 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1412, allocations: 3.938 kB / 0.8255 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000175/0.1414, allocations: 4 kB / 0.8255 GB, free: 15.16 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.455e-05/0.1415, allocations: 95.19 kB / 0.8256 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.09e-05/0.1416, allocations: 12 kB / 0.8256 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1416, allocations: 4.219 kB / 0.8256 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.649e-05/0.1416, allocations: 11.92 kB / 0.8256 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001247/0.1417, allocations: 1.406 kB / 0.8256 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001801/0.1419, allocations: 89.86 kB / 0.8257 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.1421, allocations: 0.6768 MB / 0.8263 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.449e-05/0.1422, allocations: 3.938 kB / 0.8263 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.918e-05/0.1422, allocations: 15.56 kB / 0.8264 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of SimCode: time 3.51e-07/0.1422, allocations: 0 / 0.8264 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of Templates: time 0.001917/0.1441, allocations: 196.8 kB / 0.8265 GB, free: 14 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.474315756997385] Failed to read output from testmodel.py, exit status != 0: 0.15097817999776453 0.16483308800000002 0.022849557000000003 Calling exit ...