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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer") translateModel(BuildingSystems.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 106.3 kB / 16.41 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 189.5 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00214/0.00214, allocations: 281.6 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9369/0.9369, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001824/0.001824, allocations: 92.27 kB / 0.6821 GB, free: 7.023 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4489/0.4507, allocations: 86.99 MB / 0.767 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.002878/0.4537, allocations: 1.454 MB / 0.7684 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000827/0.4545, allocations: 440.8 kB / 0.7689 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.809e-05/0.4546, allocations: 0 / 0.7689 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.798e-05/0.4546, allocations: 7.922 kB / 0.7689 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.724e-05/0.4547, allocations: 7.938 kB / 0.7689 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001844/0.4549, allocations: 23.91 kB / 0.7689 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.455, allocations: 55.78 kB / 0.7689 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.4552, allocations: 11.98 kB / 0.769 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.619e-05/0.4553, allocations: 15.94 kB / 0.769 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.151e-05/0.4553, allocations: 23.91 kB / 0.769 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.4554, allocations: 15.94 kB / 0.769 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.247e-05/0.4554, allocations: 4 kB / 0.769 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.658e-05/0.4554, allocations: 11.97 kB / 0.769 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.363e-05/0.4555, allocations: 27.88 kB / 0.7691 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.4556, allocations: 43.53 kB / 0.7691 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.4556, allocations: 0 / 0.7691 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.647e-06/0.4556, allocations: 0 / 0.7691 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.4556, allocations: 3.938 kB / 0.7691 GB, free: 1.789 MB / 0.5294 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.0005204/0.4562, allocations: 361.9 kB / 0.7694 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.4562, allocations: 12.03 kB / 0.7695 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/0.4562, allocations: 8.844 kB / 0.7695 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.4564, allocations: 164.4 kB / 0.7696 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.4564, allocations: 4.375 kB / 0.7696 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.4564, allocations: 4.375 kB / 0.7696 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.4565, allocations: 57.98 kB / 0.7697 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.4566, allocations: 3.938 kB / 0.7697 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.4566, allocations: 4 kB / 0.7697 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.4566, allocations: 7.984 kB / 0.7697 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.15e-05/0.4567, allocations: 23.98 kB / 0.7697 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005428/0.4572, allocations: 308.6 kB / 0.77 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.4573, allocations: 58.66 kB / 0.7701 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.416e-05/0.4574, allocations: 20.89 kB / 0.7701 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.027e-05/0.4574, allocations: 0 / 0.7701 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001674/0.4576, allocations: 75.38 kB / 0.7702 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.4576, allocations: 0 / 0.7702 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0002393/0.4578, allocations: 105.7 kB / 0.7703 GB, free: 436 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.4579, allocations: 59.34 kB / 0.7703 GB, free: 364 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.293e-05/0.458, allocations: 109.8 kB / 0.7704 GB, free: 244 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.458, allocations: 25.7 kB / 0.7705 GB, free: 212 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.967e-05/0.4581, allocations: 84.14 kB / 0.7705 GB, free: 124 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.4581, allocations: 23.72 kB / 0.7706 GB, free: 100 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.711e-05/0.4581, allocations: 29.7 kB / 0.7706 GB, free: 64 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.4583, allocations: 318.8 kB / 0.7709 GB, free: 15.74 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.094e-05/0.4583, allocations: 15.98 kB / 0.7709 GB, free: 15.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.711e-05/0.4584, allocations: 51.36 kB / 0.7709 GB, free: 15.66 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.091e-05/0.4585, allocations: 71.31 kB / 0.771 GB, free: 15.58 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.159e-05/0.4585, allocations: 4 kB / 0.771 GB, free: 15.58 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001474/0.4587, allocations: 97.52 kB / 0.7711 GB, free: 15.48 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.4587, allocations: 4 kB / 0.7711 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.4587, allocations: 0 / 0.7711 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.4587, allocations: 4 kB / 0.7711 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.698e-05/0.4588, allocations: 15.92 kB / 0.7711 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.4588, allocations: 0 / 0.7711 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.962e-05/0.4589, allocations: 7.938 kB / 0.7711 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.4589, allocations: 8.031 kB / 0.7712 GB, free: 15.44 MB / 0.545 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.811e-05/0.459, allocations: 125.8 kB / 0.7713 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.174e-05/0.459, allocations: 4 kB / 0.7713 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.964e-05/0.459, allocations: 8.25 kB / 0.7713 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.4591, allocations: 4 kB / 0.7713 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.4591, allocations: 3.984 kB / 0.7713 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.4591, allocations: 0 / 0.7713 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004111/0.4595, allocations: 366.3 kB / 0.7716 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.4595, allocations: 0 / 0.7716 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.981e-05/0.4595, allocations: 7.984 kB / 0.7716 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.4595, allocations: 0 / 0.7716 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.4596, allocations: 0 / 0.7716 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.4596, allocations: 7.938 kB / 0.7717 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4596, allocations: 0 / 0.7717 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001586/0.4597, allocations: 187.5 kB / 0.7718 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.471e-05/0.4598, allocations: 81.11 kB / 0.7719 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.4598, allocations: 4 kB / 0.7719 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.636e-05/0.4599, allocations: 11.98 kB / 0.7719 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/0.4599, allocations: 8 kB / 0.7719 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.46, allocations: 4 kB / 0.7719 GB, free: 14.53 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.179e-05/0.46, allocations: 87.27 kB / 0.772 GB, free: 14.45 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.46, allocations: 0 / 0.772 GB, free: 14.45 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002457/0.4603, allocations: 15.94 kB / 0.772 GB, free: 14.43 MB / 0.545 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.0001036/0.4604, allocations: 103.2 kB / 0.7721 GB, free: 14.32 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001344/0.4605, allocations: 55.84 kB / 0.7722 GB, free: 14.27 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4605, allocations: 0 / 0.7722 GB, free: 14.27 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.236e-05/0.4606, allocations: 24 kB / 0.7722 GB, free: 14.24 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.4609, allocations: 15.92 kB / 0.7722 GB, free: 14.23 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004614/0.4614, allocations: 191.1 kB / 0.7724 GB, free: 14.01 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.4616, allocations: 0.6885 MB / 0.7731 GB, free: 13.29 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/0.4617, allocations: 11.44 kB / 0.7731 GB, free: 13.28 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.4617, allocations: 0 / 0.7731 GB, free: 13.28 MB / 0.545 GB Notification: Performance of Templates: time 0.002302/0.464, allocations: 0.8726 MB / 0.7739 GB, free: 12.41 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.makefile (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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe 2>&1)