Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.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.001483/0.001483, allocations: 101.9 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.001567/0.001567, allocations: 191 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.342/1.342, allocations: 225.6 MB / 251.5 MB, free: 13.05 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.002594/0.002594, allocations: 285 kB / 307 MB, free: 8.379 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.182/1.182, allocations: 180.8 MB / 0.5304 GB, free: 14.56 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.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests") translateModel(BuildingSystems.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002732/0.002732, allocations: 108 kB / 0.7311 GB, free: 39.2 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1337, allocations: 94.2 MB / 0.8231 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.NumberOfRequests): time 0.002489/0.1361, allocations: 1.49 MB / 0.8245 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0007321/0.1369, allocations: 468.4 kB / 0.825 GB, free: 288 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.236e-05/0.1369, allocations: 0 / 0.825 GB, free: 288 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 7.583e-05/0.137, allocations: 7.922 kB / 0.825 GB, free: 280 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.791e-05/0.137, allocations: 15.88 kB / 0.825 GB, free: 264 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001973/0.1372, allocations: 43.88 kB / 0.825 GB, free: 220 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.1374, allocations: 91.83 kB / 0.8251 GB, free: 128 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.445e-05/0.1375, allocations: 20.09 kB / 0.8251 GB, free: 108 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.1376, allocations: 51.78 kB / 0.8252 GB, free: 56 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.573e-05/0.1377, allocations: 43.88 kB / 0.8252 GB, free: 12 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.765e-05/0.1377, allocations: 8 kB / 0.8252 GB, free: 4 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 3.486e-05/0.1377, allocations: 8.047 kB / 0.8252 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.126e-05/0.1378, allocations: 11.94 kB / 0.8253 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.695e-05/0.1378, allocations: 43.73 kB / 0.8253 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.138, allocations: 83.7 kB / 0.8254 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.138, allocations: 0 / 0.8254 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.203e-06/0.138, allocations: 0 / 0.8254 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.138, allocations: 0 / 0.8254 GB, free: 15.86 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006518/0.1386, allocations: 377.4 kB / 0.8257 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.801e-05/0.1387, allocations: 8.031 kB / 0.8257 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.469e-05/0.1387, allocations: 12.89 kB / 0.8258 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.1389, allocations: 134.4 kB / 0.8259 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.1389, allocations: 8.375 kB / 0.8259 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.1389, allocations: 8.375 kB / 0.8259 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003403/0.1393, allocations: 151.4 kB / 0.826 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.1393, allocations: 0 / 0.826 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.1393, allocations: 0 / 0.826 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-06/0.1393, allocations: 4 kB / 0.8261 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003475/0.1396, allocations: 113.6 kB / 0.8262 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005402/0.1402, allocations: 315.7 kB / 0.8265 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003543/0.1405, allocations: 132.2 kB / 0.8266 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002161/0.1407, allocations: 94.64 kB / 0.8267 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.1408, allocations: 0 / 0.8267 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000331/0.1411, allocations: 157 kB / 0.8268 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.1411, allocations: 3.938 kB / 0.8268 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0007927/0.1419, allocations: 338.6 kB / 0.8272 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.307e-05/0.1419, allocations: 85.11 kB / 0.8272 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.1421, allocations: 129.7 kB / 0.8274 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/0.1421, allocations: 33.7 kB / 0.8274 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.697e-05/0.1422, allocations: 100 kB / 0.8275 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.1422, allocations: 11.91 kB / 0.8275 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.198e-05/0.1422, allocations: 33.7 kB / 0.8275 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.1424, allocations: 326.7 kB / 0.8278 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000241/0.1426, allocations: 127.3 kB / 0.828 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.1428, allocations: 119.4 kB / 0.8281 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000385/0.1432, allocations: 193.9 kB / 0.8283 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1432, allocations: 0 / 0.8283 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005989/0.1438, allocations: 324.3 kB / 0.8286 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.993e-05/0.1439, allocations: 63.34 kB / 0.8286 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.1439, allocations: 0 / 0.8286 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.1439, allocations: 0 / 0.8286 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.144, allocations: 19.98 kB / 0.8286 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.144, allocations: 3.984 kB / 0.8287 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.1442, allocations: 15.98 kB / 0.8287 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.1442, allocations: 8 kB / 0.8287 GB, free: 12.14 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,numReq.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.0001306/0.1443, allocations: 164.1 kB / 0.8288 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.099e-05/0.1443, allocations: 7.953 kB / 0.8288 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.007e-05/0.1444, allocations: 8.375 kB / 0.8288 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.1444, allocations: 4 kB / 0.8289 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.1444, allocations: 0 / 0.8289 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.1444, allocations: 3.984 kB / 0.8289 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.1445, allocations: 164.7 kB / 0.829 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1445, allocations: 0 / 0.829 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.178e-05/0.1446, allocations: 19.97 kB / 0.829 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1446, allocations: 0 / 0.829 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.1446, allocations: 8 kB / 0.829 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1446, allocations: 0 / 0.829 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1446, allocations: 3.938 kB / 0.829 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005389/0.1452, allocations: 272.3 kB / 0.8293 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.467e-05/0.1452, allocations: 11.95 kB / 0.8293 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.1452, allocations: 4.312 kB / 0.8293 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.1454, allocations: 23.97 kB / 0.8293 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.1455, allocations: 35.95 kB / 0.8294 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.1455, allocations: 11.94 kB / 0.8294 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.612e-05/0.1456, allocations: 102.4 kB / 0.8295 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1456, allocations: 0 / 0.8295 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002065/0.1458, allocations: 23.94 kB / 0.8295 GB, free: 11.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,numReq.y,pulse.T_start,pulse.count) * Number of discrete states: 2 (pulse.count,numReq.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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 9.989e-05/0.1459, allocations: 111.2 kB / 0.8296 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005932/0.1465, allocations: 347.7 kB / 0.8299 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1465, allocations: 0 / 0.8299 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000278/0.1467, allocations: 157.1 kB / 0.8301 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.1469, allocations: 22.39 kB / 0.8301 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00052/0.1475, allocations: 253.2 kB / 0.8304 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.1477, allocations: 0.6885 MB / 0.831 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.624e-05/0.1478, allocations: 7.75 kB / 0.831 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.966e-05/0.1478, allocations: 23.42 kB / 0.8311 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.1478, allocations: 4 kB / 0.8311 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of Templates: time 0.004489/0.1523, allocations: 1.924 MB / 0.8329 GB, free: 7.562 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.607590088038705] Failed to read output from testmodel.py, exit status != 0: 0.15905553894117475 0.17327929999999994 0.032431787000000004 Calling exit ...