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.0009639/0.0009639, allocations: 96.2 kB / 20.43 MB, free: 4.129 MB / 18.57 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.001026/0.001026, allocations: 165 kB / 23.8 MB, free: 0.7617 MB / 18.57 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 0.9431/0.9431, allocations: 177.1 MB / 204.2 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] 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.6233/0.6233, allocations: 115 MB / 375.7 MB, free: 7.641 MB / 346.7 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: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 481.5 MB, free: 11.93 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.292e-05/2.452e-05, allocations: 4.719 kB / 481.5 MB, free: 11.93 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.OffTimer): time 0.001989/0.002014, allocations: 1.52 MB / 483 MB, free: 10.93 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007452/0.002759, allocations: 479 kB / 483.4 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.218e-05/0.002801, allocations: 0 / 483.4 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.249e-05/0.002834, allocations: 0 / 483.4 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.659e-05/0.00293, allocations: 13.55 kB / 483.5 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001906/0.003121, allocations: 25.8 kB / 483.5 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.881e-05/0.00321, allocations: 50.45 kB / 483.5 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.003335, allocations: 15.58 kB / 483.5 MB, free: 10.56 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.286e-05/0.003418, allocations: 29.75 kB / 483.6 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.261e-05/0.00351, allocations: 17.62 kB / 483.6 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.997e-05/0.00354, allocations: 4.562 kB / 483.6 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.083e-05/0.003551, allocations: 3.875 kB / 483.6 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.334e-05/0.003574, allocations: 12.48 kB / 483.6 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.957e-05/0.003614, allocations: 16.31 kB / 483.6 MB, free: 10.53 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.003737, allocations: 38.36 kB / 483.7 MB, free: 10.51 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.003739, allocations: 0 / 483.7 MB, free: 10.51 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.003741, allocations: 0.75 kB / 483.7 MB, free: 10.51 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.003746, allocations: 1.031 kB / 483.7 MB, free: 10.51 MB / 410.7 MB 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.0004159/0.004162, allocations: 385.2 kB / 484 MB, free: 10.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.004209, allocations: 10.03 kB / 484.1 MB, free: 10.13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.252e-05/0.004262, allocations: 9.953 kB / 484.1 MB, free: 10.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.486e-05/0.004347, allocations: 114 kB / 484.2 MB, free: 9.996 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.004362, allocations: 8.219 kB / 484.2 MB, free: 9.992 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.004378, allocations: 4.594 kB / 484.2 MB, free: 9.992 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.542e-05/0.004473, allocations: 52.92 kB / 484.2 MB, free: 9.953 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.004483, allocations: 0.6875 kB / 484.2 MB, free: 9.953 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.004497, allocations: 6.438 kB / 484.2 MB, free: 9.949 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.004508, allocations: 6.344 kB / 484.3 MB, free: 9.945 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.335e-05/0.004551, allocations: 12.97 kB / 484.3 MB, free: 9.945 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003682/0.004919, allocations: 286.2 kB / 484.5 MB, free: 9.672 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.005025, allocations: 52.61 kB / 484.6 MB, free: 9.629 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.206e-05/0.005067, allocations: 28.44 kB / 484.6 MB, free: 9.609 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/0.005076, allocations: 3.312 kB / 484.6 MB, free: 9.609 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001108/0.005187, allocations: 74.59 kB / 484.7 MB, free: 9.547 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.005188, allocations: 0 / 484.7 MB, free: 9.547 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.000202/0.00539, allocations: 91.73 kB / 484.8 MB, free: 9.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.005426, allocations: 61.94 kB / 484.8 MB, free: 9.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.005683, allocations: 167.2 kB / 485 MB, free: 25.26 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.005694, allocations: 27.55 kB / 485 MB, free: 25.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.482e-05/0.005738, allocations: 144.8 kB / 485.2 MB, free: 25.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.005762, allocations: 25.05 kB / 485.2 MB, free: 25.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.04e-05/0.005803, allocations: 35.48 kB / 485.2 MB, free: 25.04 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003043/0.006107, allocations: 493.3 kB / 485.7 MB, free: 24.54 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.5e-05/0.006132, allocations: 15.22 kB / 485.7 MB, free: 24.54 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.277e-05/0.006175, allocations: 46.95 kB / 485.8 MB, free: 24.49 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.428e-05/0.006239, allocations: 70.86 kB / 485.9 MB, free: 24.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.006241, allocations: 1.781 kB / 485.9 MB, free: 24.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001065/0.006348, allocations: 92.09 kB / 485.9 MB, free: 24.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.006364, allocations: 5.188 kB / 485.9 MB, free: 24.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.00637, allocations: 5.031 kB / 486 MB, free: 24.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.006386, allocations: 3.938 kB / 486 MB, free: 24.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.081e-05/0.006466, allocations: 14.52 kB / 486 MB, free: 24.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.006473, allocations: 2.188 kB / 486 MB, free: 24.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.465e-05/0.006508, allocations: 11.08 kB / 486 MB, free: 24.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.006515, allocations: 3.594 kB / 486 MB, free: 24.36 MB / 426.7 MB 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 7.313e-05/0.006588, allocations: 166.5 kB / 486.2 MB, free: 24.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.289e-05/0.006601, allocations: 11.91 kB / 486.2 MB, free: 24.19 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.849e-05/0.00663, allocations: 9.875 kB / 486.2 MB, free: 24.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.006633, allocations: 2.156 kB / 486.2 MB, free: 24.18 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.006637, allocations: 0 / 486.2 MB, free: 24.18 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.006642, allocations: 0 / 486.2 MB, free: 24.18 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002698/0.006912, allocations: 346.8 kB / 486.5 MB, free: 23.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.006913, allocations: 4.562 kB / 486.5 MB, free: 23.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.672e-05/0.00693, allocations: 5 kB / 486.5 MB, free: 23.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.006932, allocations: 0 / 486.5 MB, free: 23.86 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.006943, allocations: 8.188 kB / 486.5 MB, free: 23.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.006944, allocations: 2.5 kB / 486.5 MB, free: 23.86 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.006945, allocations: 0 / 486.5 MB, free: 23.86 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001398/0.007085, allocations: 232.3 kB / 486.8 MB, free: 23.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.179e-05/0.007097, allocations: 11.83 kB / 486.8 MB, free: 23.65 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.007108, allocations: 1.156 kB / 486.8 MB, free: 23.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.633e-05/0.007144, allocations: 5.578 kB / 486.8 MB, free: 23.65 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.722e-05/0.007192, allocations: 6.812 kB / 486.8 MB, free: 23.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.007199, allocations: 7.656 kB / 486.8 MB, free: 23.64 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.612e-05/0.007245, allocations: 129.5 kB / 486.9 MB, free: 23.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007245, allocations: 1.062 kB / 486.9 MB, free: 23.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001547/0.0074, allocations: 12.47 kB / 486.9 MB, free: 23.52 MB / 426.7 MB 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.807e-05/0.007488, allocations: 101 kB / 487 MB, free: 23.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001383/0.007626, allocations: 51.61 kB / 487.1 MB, free: 23.41 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.007627, allocations: 0 / 487.1 MB, free: 23.41 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.195e-05/0.007669, allocations: 34.22 kB / 487.1 MB, free: 23.39 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001878/0.007857, allocations: 12.73 kB / 487.1 MB, free: 23.38 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002779/0.008135, allocations: 163.5 kB / 487.3 MB, free: 23.25 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.848e-05/0.008164, allocations: 61.02 kB / 487.3 MB, free: 23.18 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.01e-05/0.008184, allocations: 3.688 kB / 487.3 MB, free: 23.18 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.961e-05/0.008213, allocations: 13.28 kB / 487.4 MB, free: 23.17 MB / 426.7 MB Notification: Performance of SimCode: time 3.5e-07/0.008214, allocations: 0 / 487.4 MB, free: 23.17 MB / 426.7 MB Notification: Performance of Templates: time 0.002342/0.01056, allocations: 0.8168 MB / 488.2 MB, free: 23.1 MB / 426.7 MB " [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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4694220339879394]