Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.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.001348/0.001348, allocations: 109 kB / 20.45 MB, free: 1.496 MB / 14.72 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.001599/0.001599, allocations: 208.6 kB / 23.75 MB, free: 4.727 MB / 14.72 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 1.475/1.475, allocations: 230.6 MB / 257.5 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.007/1.007, allocations: 150 MB / 463.9 MB, free: 10.49 MB / 366.1 MB " [Timeout remaining time 178] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer") translateModel(IBPSA.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 70.42 kB / 0.6425 GB, free: 9.922 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2134, allocations: 89.18 MB / 0.7295 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.OffTimer): time 0.003453/0.2169, allocations: 1.492 MB / 0.731 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001078/0.218, allocations: 486.8 kB / 0.7315 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.909e-05/0.218, allocations: 0 / 0.7315 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.355e-05/0.2181, allocations: 3.938 kB / 0.7315 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.2182, allocations: 11.92 kB / 0.7315 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001901/0.2184, allocations: 27.91 kB / 0.7315 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.2185, allocations: 47.91 kB / 0.7316 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.2186, allocations: 12 kB / 0.7316 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.918e-05/0.2187, allocations: 19.92 kB / 0.7316 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.255e-05/0.2188, allocations: 27.92 kB / 0.7316 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.2188, allocations: 7.938 kB / 0.7316 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.333e-05/0.2188, allocations: 7.938 kB / 0.7316 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.792e-05/0.2188, allocations: 11.97 kB / 0.7316 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.672e-05/0.2189, allocations: 27.86 kB / 0.7317 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.219, allocations: 39.83 kB / 0.7317 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.219, allocations: 0 / 0.7317 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.363e-06/0.219, allocations: 0 / 0.7317 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.219, allocations: 0 / 0.7317 GB, free: 14.58 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005603/0.2196, allocations: 286.3 kB / 0.732 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.2196, allocations: 8.031 kB / 0.732 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.05e-05/0.2197, allocations: 8.891 kB / 0.732 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.2198, allocations: 118.5 kB / 0.7321 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.2198, allocations: 384 / 0.7321 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.2199, allocations: 4.375 kB / 0.7321 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.22, allocations: 65.88 kB / 0.7322 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.22, allocations: 0 / 0.7322 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.22, allocations: 4 kB / 0.7322 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.22, allocations: 3.984 kB / 0.7322 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.537e-05/0.2201, allocations: 27.98 kB / 0.7322 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005705/0.2207, allocations: 275.8 kB / 0.7325 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.2208, allocations: 50.55 kB / 0.7325 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.8e-05/0.2208, allocations: 20.95 kB / 0.7325 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.2209, allocations: 15.92 kB / 0.7326 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002187/0.2211, allocations: 71.42 kB / 0.7326 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.2211, allocations: 0 / 0.7326 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.0002589/0.2213, allocations: 101.6 kB / 0.7327 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/0.2214, allocations: 51.41 kB / 0.7328 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.2215, allocations: 105.8 kB / 0.7329 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.2215, allocations: 29.7 kB / 0.7329 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.192e-05/0.2216, allocations: 92.09 kB / 0.733 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/0.2216, allocations: 23.8 kB / 0.733 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.919e-05/0.2217, allocations: 29.7 kB / 0.733 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.2218, allocations: 322.8 kB / 0.7333 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.223e-05/0.2219, allocations: 16 kB / 0.7334 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.379e-05/0.2219, allocations: 45.61 kB / 0.7334 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.2221, allocations: 75.36 kB / 0.7335 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2221, allocations: 0 / 0.7335 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001552/0.2222, allocations: 89.56 kB / 0.7336 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.2222, allocations: 4.375 kB / 0.7336 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.2222, allocations: 7.984 kB / 0.7336 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.2223, allocations: 0 / 0.7336 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.394e-05/0.2223, allocations: 8 kB / 0.7336 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.2223, allocations: 7.938 kB / 0.7336 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.36e-05/0.2224, allocations: 19.97 kB / 0.7336 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.2224, allocations: 4 kB / 0.7336 GB, free: 12.42 MB / 0.5606 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 0.0001164/0.2225, allocations: 121.7 kB / 0.7337 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.144e-05/0.2226, allocations: 0 / 0.7337 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.661e-05/0.2226, allocations: 12.06 kB / 0.7337 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.2226, allocations: 288 / 0.7337 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.2226, allocations: 0 / 0.7337 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2226, allocations: 0 / 0.7337 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004595/0.2231, allocations: 341.3 kB / 0.7341 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.2231, allocations: 7.984 kB / 0.7341 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.178e-05/0.2231, allocations: 7.984 kB / 0.7341 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.2231, allocations: 4 kB / 0.7341 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.914e-06/0.2231, allocations: 0 / 0.7341 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.2231, allocations: 3.938 kB / 0.7341 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2231, allocations: 0 / 0.7341 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/0.2233, allocations: 179.5 kB / 0.7343 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.395e-05/0.2233, allocations: 11.95 kB / 0.7343 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.2233, allocations: 0 / 0.7343 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.569e-05/0.2234, allocations: 11.92 kB / 0.7343 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.2235, allocations: 11.98 kB / 0.7343 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.2235, allocations: 0 / 0.7343 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.017e-05/0.2235, allocations: 79.28 kB / 0.7344 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2235, allocations: 0 / 0.7344 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002399/0.2238, allocations: 19.94 kB / 0.7344 GB, free: 11.54 MB / 0.5606 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 0.0001146/0.2239, allocations: 103.2 kB / 0.7345 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001747/0.2241, allocations: 56.16 kB / 0.7345 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.2241, allocations: 3.938 kB / 0.7345 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.696e-05/0.2241, allocations: 23.94 kB / 0.7346 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.2244, allocations: 11.98 kB / 0.7346 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004934/0.2249, allocations: 187.1 kB / 0.7348 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.2253, allocations: 0.6924 MB / 0.7354 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.89e-05/0.2253, allocations: 11.44 kB / 0.7354 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of SimCode: time 2.81e-07/0.2253, allocations: 0 / 0.7354 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of Templates: time 0.002761/0.2281, allocations: 0.8624 MB / 0.7363 GB, free: 9.531 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.129827678902075] Failed to read output from testmodel.py, exit status != 0: 0.23772425204515457 0.25607054700000004 0.032577624 Calling exit ...