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.001306/0.001306, allocations: 96.42 kB / 20.45 MB, free: 1.262 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.001454/0.001454, allocations: 212.2 kB / 23.74 MB, free: 4.445 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.463/1.463, allocations: 230.6 MB / 257.5 MB, free: 7.789 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 0.9517/0.9517, allocations: 149.9 MB / 463.8 MB, free: 10.38 MB / 366.1 MB " [Timeout remaining time 179] 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.002156/0.002156, allocations: 66.33 kB / 0.6423 GB, free: 9.684 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.212, allocations: 89.18 MB / 0.7294 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.OffTimer): time 0.003606/0.2156, allocations: 1.461 MB / 0.7308 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.2167, allocations: 446.9 kB / 0.7312 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.59e-05/0.2168, allocations: 0 / 0.7312 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.185e-05/0.2168, allocations: 7.922 kB / 0.7312 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.659e-05/0.2169, allocations: 11.88 kB / 0.7312 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001974/0.2171, allocations: 23.91 kB / 0.7313 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.2173, allocations: 51.84 kB / 0.7313 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.2174, allocations: 15.98 kB / 0.7313 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.532e-05/0.2175, allocations: 23.88 kB / 0.7313 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.679e-05/0.2175, allocations: 27.91 kB / 0.7314 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.2176, allocations: 4 kB / 0.7314 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.625e-05/0.2176, allocations: 4 kB / 0.7314 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.16e-05/0.2176, allocations: 11.97 kB / 0.7314 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.759e-05/0.2177, allocations: 19.88 kB / 0.7314 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.2178, allocations: 39.83 kB / 0.7314 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.528e-06/0.2178, allocations: 3.984 kB / 0.7314 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.284e-06/0.2178, allocations: 0 / 0.7314 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.428e-05/0.2178, allocations: 0 / 0.7314 GB, free: 14.42 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.0006678/0.2185, allocations: 282.3 kB / 0.7317 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.2186, allocations: 16.02 kB / 0.7317 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.865e-05/0.2186, allocations: 8.891 kB / 0.7317 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.2188, allocations: 118.4 kB / 0.7319 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.2188, allocations: 384 / 0.7319 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.2188, allocations: 8.375 kB / 0.7319 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.219, allocations: 61.98 kB / 0.7319 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.219, allocations: 0 / 0.7319 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.219, allocations: 0 / 0.7319 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.219, allocations: 0 / 0.7319 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.242e-05/0.2191, allocations: 31.92 kB / 0.7319 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005679/0.2196, allocations: 240.4 kB / 0.7322 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.2198, allocations: 54.66 kB / 0.7322 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.768e-05/0.2198, allocations: 24.88 kB / 0.7323 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.2198, allocations: 3.938 kB / 0.7323 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002402/0.2201, allocations: 71.39 kB / 0.7323 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.713e-06/0.2201, allocations: 0 / 0.7323 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.0002767/0.2204, allocations: 109.5 kB / 0.7324 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.076e-05/0.2204, allocations: 55.41 kB / 0.7325 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.2205, allocations: 105.8 kB / 0.7326 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.2205, allocations: 33.7 kB / 0.7326 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.095e-05/0.2206, allocations: 88.08 kB / 0.7327 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.451e-05/0.2206, allocations: 23.8 kB / 0.7327 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.634e-05/0.2207, allocations: 29.7 kB / 0.7328 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.2209, allocations: 322.8 kB / 0.7331 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.417e-05/0.2209, allocations: 19.92 kB / 0.7331 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.997e-05/0.221, allocations: 47.42 kB / 0.7331 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.2211, allocations: 63.38 kB / 0.7332 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2211, allocations: 0 / 0.7332 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001718/0.2213, allocations: 93.84 kB / 0.7333 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.2213, allocations: 8 kB / 0.7333 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.2213, allocations: 0 / 0.7333 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.2213, allocations: 48 / 0.7333 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.593e-05/0.2214, allocations: 11.98 kB / 0.7333 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.522e-05/0.2214, allocations: 11.92 kB / 0.7333 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.036e-05/0.2215, allocations: 11.95 kB / 0.7333 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.2215, allocations: 4 kB / 0.7333 GB, free: 12.3 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.0001151/0.2216, allocations: 117.8 kB / 0.7334 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.395e-05/0.2216, allocations: 8.031 kB / 0.7334 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.897e-05/0.2217, allocations: 12.05 kB / 0.7335 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.2217, allocations: 0 / 0.7335 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.2217, allocations: 0 / 0.7335 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2217, allocations: 0 / 0.7335 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004343/0.2221, allocations: 305.9 kB / 0.7337 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.2221, allocations: 480 / 0.7337 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.307e-05/0.2221, allocations: 15.92 kB / 0.7338 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.2221, allocations: 0 / 0.7338 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.2222, allocations: 8.062 kB / 0.7338 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.2222, allocations: 0 / 0.7338 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2222, allocations: 7.938 kB / 0.7338 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002061/0.2224, allocations: 183.4 kB / 0.7339 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.776e-05/0.2224, allocations: 7.953 kB / 0.734 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.2224, allocations: 0 / 0.734 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.238e-05/0.2225, allocations: 7.984 kB / 0.734 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.443e-05/0.2226, allocations: 11.98 kB / 0.734 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.2226, allocations: 7.938 kB / 0.734 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.644e-05/0.2226, allocations: 79.28 kB / 0.7341 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2226, allocations: 0 / 0.7341 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002386/0.2229, allocations: 12 kB / 0.7341 GB, free: 11.47 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.0001193/0.223, allocations: 99.25 kB / 0.7342 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001672/0.2231, allocations: 55.91 kB / 0.7342 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.2231, allocations: 0 / 0.7342 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.644e-05/0.2232, allocations: 19.94 kB / 0.7342 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.2235, allocations: 22.31 kB / 0.7343 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005008/0.224, allocations: 179.2 kB / 0.7344 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.503e-05/0.2241, allocations: 79.39 kB / 0.7345 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.008e-05/0.2241, allocations: 11.44 kB / 0.7345 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of SimCode: time 6.81e-07/0.2241, allocations: 0 / 0.7345 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of Templates: time 0.002846/0.227, allocations: 0.8861 MB / 0.7354 GB, free: 10.07 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.018899722956121] Failed to read output from testmodel.py, exit status != 0: 0.23663545586168766 0.25304545100000003 0.031908537 Calling exit ...