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.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.0009546/0.0009546, allocations: 80.81 kB / 19.94 MB, free: 4.547 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.001003/0.001003, allocations: 177 kB / 23.36 MB, free: 1.133 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.9105/0.9105, allocations: 177.2 MB / 203.8 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001649/0.001649, allocations: 260.4 kB / 260.5 MB, free: 12.67 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.715/0.715, allocations: 138.4 MB / 402.2 MB, free: 0.5586 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(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 2.084e-06/2.084e-06, allocations: 1.5 kB / 462.3 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.125e-05/2.333e-05, allocations: 3.406 kB / 462.3 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.001827/0.001851, allocations: 1.515 MB / 463.8 MB, free: 15.96 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006515/0.002502, allocations: 482.2 kB / 464.3 MB, free: 15.65 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.348e-05/0.002536, allocations: 2.688 kB / 464.3 MB, free: 15.65 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.357e-05/0.002559, allocations: 0.75 kB / 464.3 MB, free: 15.65 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 7.495e-05/0.002634, allocations: 13 kB / 464.3 MB, free: 15.64 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001185/0.002753, allocations: 22.55 kB / 464.3 MB, free: 15.63 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 7.347e-05/0.002826, allocations: 53.47 kB / 464.3 MB, free: 15.62 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.098e-05/0.002897, allocations: 11.11 kB / 464.4 MB, free: 15.61 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.264e-05/0.00296, allocations: 32.66 kB / 464.4 MB, free: 15.6 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.688e-05/0.003017, allocations: 17.62 kB / 464.4 MB, free: 15.59 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.003034, allocations: 6 kB / 464.4 MB, free: 15.59 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.246e-06/0.003042, allocations: 4.656 kB / 464.4 MB, free: 15.59 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.992e-05/0.003062, allocations: 9.812 kB / 464.4 MB, free: 15.59 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.602e-05/0.003088, allocations: 16.42 kB / 464.4 MB, free: 15.58 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 7.862e-05/0.003167, allocations: 34.41 kB / 464.5 MB, free: 15.57 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.003169, allocations: 2.344 kB / 464.5 MB, free: 15.57 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.00317, allocations: 0 / 464.5 MB, free: 15.57 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.003173, allocations: 0.9688 kB / 464.5 MB, free: 15.57 MB / 426.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.0002776/0.003451, allocations: 264.2 kB / 464.7 MB, free: 15.32 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.737e-05/0.003478, allocations: 9.719 kB / 464.7 MB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.261e-05/0.003501, allocations: 8.328 kB / 464.8 MB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.509e-05/0.003566, allocations: 112.7 kB / 464.9 MB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.587e-06/0.003574, allocations: 7.531 kB / 464.9 MB, free: 15.19 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.003585, allocations: 7.75 kB / 464.9 MB, free: 15.19 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.097e-05/0.003646, allocations: 48.28 kB / 464.9 MB, free: 15.15 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.003652, allocations: 5.812 kB / 464.9 MB, free: 15.15 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.182e-06/0.003658, allocations: 384 / 464.9 MB, free: 15.15 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.003662, allocations: 5.781 kB / 464.9 MB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.092e-05/0.003683, allocations: 13.03 kB / 464.9 MB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002021/0.003885, allocations: 176.4 kB / 465.1 MB, free: 14.99 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.371e-05/0.003949, allocations: 44.77 kB / 465.2 MB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.231e-05/0.003971, allocations: 20.02 kB / 465.2 MB, free: 14.95 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.25e-06/0.003976, allocations: 1.5 kB / 465.2 MB, free: 14.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.999e-05/0.004056, allocations: 64.97 kB / 465.2 MB, free: 14.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 9.62e-07/0.004057, allocations: 0 / 465.2 MB, free: 14.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001028/0.00416, allocations: 70.44 kB / 465.3 MB, free: 14.86 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.004194, allocations: 54.36 kB / 465.4 MB, free: 14.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.289e-05/0.004247, allocations: 113.8 kB / 465.5 MB, free: 14.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.004261, allocations: 31.05 kB / 465.5 MB, free: 14.65 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.999e-05/0.004291, allocations: 91.89 kB / 465.6 MB, free: 14.56 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.004315, allocations: 24.45 kB / 465.6 MB, free: 14.54 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/0.004349, allocations: 29.83 kB / 465.7 MB, free: 14.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.403e-05/0.004423, allocations: 319.3 kB / 466 MB, free: 14.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.328e-05/0.004436, allocations: 7.953 kB / 466 MB, free: 14.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.089e-05/0.004467, allocations: 39.25 kB / 466 MB, free: 14.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.99e-05/0.004517, allocations: 58.58 kB / 466.1 MB, free: 14.12 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.004519, allocations: 0 / 466.1 MB, free: 14.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 6.64e-05/0.004585, allocations: 75.14 kB / 466.1 MB, free: 14.08 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.004598, allocations: 6.875 kB / 466.1 MB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.004601, allocations: 0 / 466.1 MB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.976e-06/0.00461, allocations: 8.141 kB / 466.2 MB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.552e-05/0.004656, allocations: 17.7 kB / 466.2 MB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-06/0.004658, allocations: 3.156 kB / 466.2 MB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.049e-05/0.004689, allocations: 9 kB / 466.2 MB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.004694, allocations: 2.562 kB / 466.2 MB, free: 14.07 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 0.0002631/0.004957, allocations: 114.1 kB / 466.3 MB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.119e-05/0.004968, allocations: 13.95 kB / 466.3 MB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.744e-05/0.004985, allocations: 9.938 kB / 466.3 MB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.004987, allocations: 2.125 kB / 466.3 MB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-06/0.004988, allocations: 0 / 466.3 MB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.004991, allocations: 1.891 kB / 466.3 MB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.005167, allocations: 228.2 kB / 466.6 MB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.165e-06/0.00517, allocations: 5.156 kB / 466.6 MB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.242e-05/0.005183, allocations: 8.969 kB / 466.6 MB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.42e-07/0.005184, allocations: 0 / 466.6 MB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.01e-06/0.005189, allocations: 2.969 kB / 466.6 MB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.005189, allocations: 0 / 466.6 MB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.005191, allocations: 2.531 kB / 466.6 MB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.036e-05/0.005271, allocations: 156.9 kB / 466.7 MB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.555e-06/0.005279, allocations: 6.516 kB / 466.7 MB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.664e-06/0.005286, allocations: 5.984 kB / 466.7 MB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.377e-05/0.00532, allocations: 3.844 kB / 466.7 MB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.8e-05/0.005348, allocations: 9.297 kB / 466.7 MB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/0.005351, allocations: 1.656 kB / 466.7 MB, free: 13.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.287e-05/0.005364, allocations: 13.59 kB / 466.8 MB, free: 13.58 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.005364, allocations: 0.5312 kB / 466.8 MB, free: 13.58 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001295/0.005494, allocations: 23.47 kB / 466.8 MB, free: 13.57 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 6.471e-05/0.005559, allocations: 77.47 kB / 466.9 MB, free: 13.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.972e-05/0.005628, allocations: 45.52 kB / 466.9 MB, free: 13.49 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.005631, allocations: 0 / 466.9 MB, free: 13.49 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.069e-05/0.005661, allocations: 29.8 kB / 466.9 MB, free: 13.47 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001275/0.005789, allocations: 25.47 kB / 467 MB, free: 13.46 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002208/0.00601, allocations: 150.2 kB / 467.1 MB, free: 13.33 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.146e-05/0.006041, allocations: 61.2 kB / 467.2 MB, free: 13.26 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.942e-05/0.006061, allocations: 5.609 kB / 467.2 MB, free: 13.26 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.778e-05/0.006108, allocations: 58.88 kB / 467.2 MB, free: 13.22 MB / 426.7 MB Notification: Performance of SimCode: time 3.91e-07/0.006109, allocations: 3.938 kB / 467.2 MB, free: 13.21 MB / 426.7 MB Notification: Performance of Templates: time 0.002158/0.008267, allocations: 0.8419 MB / 468.1 MB, free: 12.73 MB / 426.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.342415135819465]