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.001336/0.001336, allocations: 113 kB / 16.41 MB, free: 6.043 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.001248/0.001248, allocations: 188.7 kB / 17.34 MB, free: 5.609 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.419/1.419, 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.00256/0.00256, allocations: 294.4 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.029/1.029, allocations: 169.2 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002812/0.002812, allocations: 103.8 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4921/0.4949, allocations: 86.97 MB / 0.767 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.002599/0.4975, allocations: 1.458 MB / 0.7684 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007315/0.4983, allocations: 448.7 kB / 0.7689 GB, free: 2 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.995e-05/0.4983, allocations: 4 kB / 0.7689 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.235e-05/0.4983, allocations: 3.938 kB / 0.7689 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.526e-05/0.4984, allocations: 7.938 kB / 0.7689 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000144/0.4986, allocations: 19.92 kB / 0.7689 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.943e-05/0.4987, allocations: 43.91 kB / 0.7689 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.4988, allocations: 19.97 kB / 0.769 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.207e-05/0.4988, allocations: 27.86 kB / 0.769 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.769e-05/0.4989, allocations: 15.92 kB / 0.769 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.4989, allocations: 11.94 kB / 0.769 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.408e-05/0.4989, allocations: 4 kB / 0.769 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.516e-05/0.4989, allocations: 15.92 kB / 0.769 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.151e-05/0.499, allocations: 19.94 kB / 0.7691 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.4991, allocations: 55.59 kB / 0.7691 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.4991, allocations: 0 / 0.7691 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4991, allocations: 0 / 0.7691 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.777e-06/0.4991, allocations: 0 / 0.7691 GB, free: 1.758 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.0005241/0.4996, allocations: 361.2 kB / 0.7694 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.4997, allocations: 12.03 kB / 0.7695 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.259e-05/0.4997, allocations: 4.891 kB / 0.7695 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.4999, allocations: 172.3 kB / 0.7696 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.4999, allocations: 8.375 kB / 0.7696 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.4999, allocations: 4.375 kB / 0.7696 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.5, allocations: 57.98 kB / 0.7697 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.5, allocations: 0 / 0.7697 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.5, allocations: 0 / 0.7697 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.5, allocations: 8 kB / 0.7697 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.889e-05/0.5001, allocations: 31.92 kB / 0.7697 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005105/0.5006, allocations: 300.7 kB / 0.77 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.5007, allocations: 54.59 kB / 0.7701 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.659e-05/0.5008, allocations: 20.95 kB / 0.7701 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.5008, allocations: 4 kB / 0.7701 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001466/0.5009, allocations: 71.38 kB / 0.7702 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.5009, allocations: 0 / 0.7702 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0002389/0.5012, allocations: 105.8 kB / 0.7703 GB, free: 412 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.5012, allocations: 59.41 kB / 0.7703 GB, free: 340 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.007e-05/0.5013, allocations: 101.8 kB / 0.7704 GB, free: 228 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.5013, allocations: 29.7 kB / 0.7704 GB, free: 192 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.327e-05/0.5014, allocations: 100 kB / 0.7705 GB, free: 88 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.5014, allocations: 19.86 kB / 0.7706 GB, free: 68 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.056e-05/0.5015, allocations: 29.7 kB / 0.7706 GB, free: 32 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.5016, allocations: 326.7 kB / 0.7709 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.736e-05/0.5017, allocations: 16 kB / 0.7709 GB, free: 15.69 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.663e-05/0.5017, allocations: 39.42 kB / 0.771 GB, free: 15.64 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.5018, allocations: 71.36 kB / 0.771 GB, free: 15.55 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5018, allocations: 0 / 0.771 GB, free: 15.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001473/0.502, allocations: 93.62 kB / 0.7711 GB, free: 15.46 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.502, allocations: 4 kB / 0.7711 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.502, allocations: 3.984 kB / 0.7711 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.502, allocations: 4 kB / 0.7711 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.185e-05/0.5021, allocations: 11.94 kB / 0.7711 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.5021, allocations: 32 / 0.7711 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.057e-05/0.5021, allocations: 19.88 kB / 0.7712 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.5021, allocations: 8 kB / 0.7712 GB, free: 15.41 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 0.0001046/0.5023, allocations: 121.4 kB / 0.7713 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.278e-05/0.5023, allocations: 4 kB / 0.7713 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.865e-05/0.5023, allocations: 7.969 kB / 0.7713 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.5023, allocations: 288 / 0.7713 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.5023, allocations: 0 / 0.7713 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.5023, allocations: 4 kB / 0.7713 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004341/0.5027, allocations: 370.4 kB / 0.7716 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.5027, allocations: 4.062 kB / 0.7716 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.058e-05/0.5028, allocations: 7.938 kB / 0.7717 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.5028, allocations: 0 / 0.7717 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.5028, allocations: 0 / 0.7717 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.5028, allocations: 3.938 kB / 0.7717 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.5028, allocations: 4 kB / 0.7717 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.503, allocations: 187.6 kB / 0.7718 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.814e-05/0.503, allocations: 81.06 kB / 0.7719 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.503, allocations: 0 / 0.7719 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.305e-05/0.5031, allocations: 15.92 kB / 0.7719 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.5032, allocations: 11.92 kB / 0.7719 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.5032, allocations: 4 kB / 0.772 GB, free: 14.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.886e-05/0.5032, allocations: 83.28 kB / 0.772 GB, free: 14.42 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.5032, allocations: 0 / 0.772 GB, free: 14.42 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002491/0.5035, allocations: 15.94 kB / 0.772 GB, free: 14.4 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 9.756e-05/0.5036, allocations: 102.3 kB / 0.7721 GB, free: 14.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001392/0.5037, allocations: 55.91 kB / 0.7722 GB, free: 14.24 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.5037, allocations: 0 / 0.7722 GB, free: 14.24 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.197e-05/0.5038, allocations: 23.94 kB / 0.7722 GB, free: 14.22 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.504, allocations: 13.23 kB / 0.7722 GB, free: 14.21 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004152/0.5045, allocations: 157.6 kB / 0.7724 GB, free: 14.03 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.5048, allocations: 0.6885 MB / 0.7731 GB, free: 13.32 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.659e-05/0.5048, allocations: 4 kB / 0.7731 GB, free: 13.31 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.975e-05/0.5048, allocations: 11.44 kB / 0.7731 GB, free: 13.3 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.5048, allocations: 3.938 kB / 0.7731 GB, free: 13.3 MB / 0.545 GB Notification: Performance of Templates: time 0.003133/0.508, allocations: 0.7857 MB / 0.7738 GB, free: 12.51 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe 2>&1)