Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.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.001496/0.001496, 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.001587/0.001587, allocations: 188.4 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.358/1.358, 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.002514/0.002514, allocations: 288.6 kB / 307 MB, free: 8.359 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.164/1.164, allocations: 180.8 MB / 0.5304 GB, free: 14.49 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.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer") translateModel(BuildingSystems.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002725/0.002725, allocations: 101.7 kB / 0.7311 GB, free: 38.76 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1344, allocations: 94.2 MB / 0.8231 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.002521/0.137, allocations: 1.482 MB / 0.8245 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0006797/0.1376, allocations: 448.4 kB / 0.8249 GB, free: 72 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.184e-05/0.1377, allocations: 4 kB / 0.8249 GB, free: 68 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.365e-05/0.1377, allocations: 7.922 kB / 0.8249 GB, free: 60 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.424e-05/0.1378, allocations: 11.86 kB / 0.825 GB, free: 48 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001245/0.1379, allocations: 19.98 kB / 0.825 GB, free: 28 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.138, allocations: 51.95 kB / 0.825 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.426e-05/0.1381, allocations: 11.98 kB / 0.825 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.824e-05/0.1381, allocations: 23.81 kB / 0.8251 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.263e-05/0.1382, allocations: 23.91 kB / 0.8251 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.1382, allocations: 4 kB / 0.8251 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.152e-05/0.1382, allocations: 4 kB / 0.8251 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.411e-05/0.1382, allocations: 19.92 kB / 0.8251 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.933e-05/0.1383, allocations: 15.94 kB / 0.8251 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.1384, allocations: 55.69 kB / 0.8252 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.1384, allocations: 0 / 0.8252 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1384, allocations: 0 / 0.8252 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.1384, allocations: 0 / 0.8252 GB, free: 15.82 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004558/0.1389, allocations: 286.1 kB / 0.8255 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.1389, allocations: 12.03 kB / 0.8255 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.747e-05/0.1389, allocations: 16.88 kB / 0.8255 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.139, allocations: 102.5 kB / 0.8256 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.1391, allocations: 8.375 kB / 0.8256 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.1391, allocations: 4.375 kB / 0.8256 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.1392, allocations: 65.86 kB / 0.8257 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1392, allocations: 4 kB / 0.8257 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.1392, allocations: 0 / 0.8257 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.1392, allocations: 0 / 0.8257 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.95e-05/0.1393, allocations: 23.98 kB / 0.8257 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004663/0.1397, allocations: 271.8 kB / 0.8259 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.1398, allocations: 54.59 kB / 0.826 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.389e-05/0.1399, allocations: 20.91 kB / 0.826 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.713e-06/0.1399, allocations: 0 / 0.826 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000144/0.14, allocations: 75.42 kB / 0.8261 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.14, allocations: 4 kB / 0.8261 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.000236/0.1403, allocations: 105.6 kB / 0.8262 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.1403, allocations: 51.41 kB / 0.8262 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.731e-05/0.1404, allocations: 105.8 kB / 0.8263 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.1404, allocations: 29.7 kB / 0.8264 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.008e-05/0.1405, allocations: 92.08 kB / 0.8265 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.1405, allocations: 27.78 kB / 0.8265 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.725e-05/0.1406, allocations: 29.72 kB / 0.8265 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1407, allocations: 322.8 kB / 0.8268 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.707e-05/0.1407, allocations: 16 kB / 0.8268 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.216e-05/0.1408, allocations: 51.36 kB / 0.8269 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.909e-05/0.1409, allocations: 67.36 kB / 0.8269 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1409, allocations: 4 kB / 0.8269 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001483/0.141, allocations: 93.78 kB / 0.827 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.1411, allocations: 8 kB / 0.827 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.1411, allocations: 0 / 0.827 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.1411, allocations: 384 / 0.827 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.639e-05/0.1411, allocations: 11.94 kB / 0.8271 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.1411, allocations: 4 kB / 0.8271 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.848e-05/0.1412, allocations: 15.94 kB / 0.8271 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.208e-06/0.1412, allocations: 7.938 kB / 0.8271 GB, free: 13.66 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 9.297e-05/0.1413, allocations: 123.1 kB / 0.8272 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.053e-05/0.1413, allocations: 0 / 0.8272 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.863e-05/0.1414, allocations: 12.06 kB / 0.8272 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.1414, allocations: 3.938 kB / 0.8272 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.1414, allocations: 3.984 kB / 0.8272 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1414, allocations: 0 / 0.8272 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004152/0.1418, allocations: 337.4 kB / 0.8275 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1418, allocations: 0 / 0.8275 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.624e-05/0.1418, allocations: 8 kB / 0.8275 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1418, allocations: 0 / 0.8275 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.1418, allocations: 4 kB / 0.8276 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1418, allocations: 3.938 kB / 0.8276 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1418, allocations: 0 / 0.8276 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.142, allocations: 183.5 kB / 0.8277 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.047e-05/0.142, allocations: 3.953 kB / 0.8277 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.142, allocations: 64 / 0.8277 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.243e-05/0.1421, allocations: 19.92 kB / 0.8278 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.779e-05/0.1422, allocations: 11.98 kB / 0.8278 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.1422, allocations: 4 kB / 0.8278 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.277e-05/0.1422, allocations: 79.28 kB / 0.8278 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1422, allocations: 0 / 0.8278 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002363/0.1425, allocations: 23.92 kB / 0.8279 GB, free: 12.77 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.889e-05/0.1425, allocations: 95.19 kB / 0.828 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001414/0.1427, allocations: 55.92 kB / 0.828 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1427, allocations: 192 / 0.828 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.458e-05/0.1427, allocations: 27.92 kB / 0.828 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.143, allocations: 11.78 kB / 0.828 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003817/0.1434, allocations: 169.5 kB / 0.8282 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.1437, allocations: 0.6846 MB / 0.8289 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.61e-05/0.1437, allocations: 12.05 kB / 0.8289 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.683e-05/0.1437, allocations: 11.44 kB / 0.8289 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.1437, allocations: 0 / 0.8289 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of Templates: time 0.003009/0.1467, allocations: 0.8218 MB / 0.8297 GB, free: 10.84 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.574299952015281] Failed to read output from testmodel.py, exit status != 0: 0.1534883000422269 0.168312226 0.026979373 Calling exit ...