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.001105/0.001105, allocations: 112 kB / 16.41 MB, free: 6.477 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.00098/0.00098, allocations: 183 kB / 17.34 MB, free: 5.754 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.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002113/0.002113, allocations: 293.8 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9601/0.9601, allocations: 169.2 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 99.83 kB / 0.6821 GB, free: 7.012 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4943/0.4962, allocations: 86.97 MB / 0.767 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.00271/0.499, allocations: 1.469 MB / 0.7684 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007148/0.4997, allocations: 440.7 kB / 0.7689 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.063e-05/0.4997, allocations: 0 / 0.7689 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.411e-05/0.4998, allocations: 7.922 kB / 0.7689 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.635e-05/0.4999, allocations: 7.938 kB / 0.7689 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001553/0.5001, allocations: 27.91 kB / 0.7689 GB, free: 2 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.5002, allocations: 51.84 kB / 0.769 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.5003, allocations: 11.98 kB / 0.769 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.3e-05/0.5003, allocations: 19.88 kB / 0.769 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.715e-05/0.5004, allocations: 23.91 kB / 0.769 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.5004, allocations: 4 kB / 0.769 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.215e-05/0.5005, allocations: 8 kB / 0.769 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.441e-05/0.5005, allocations: 11.97 kB / 0.769 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.605e-05/0.5005, allocations: 27.88 kB / 0.7691 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.5006, allocations: 47.53 kB / 0.7691 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5007, allocations: 0 / 0.7691 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.744e-06/0.5007, allocations: 0 / 0.7691 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.5007, allocations: 0 / 0.7691 GB, free: 1.801 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.0005152/0.5012, allocations: 357.9 kB / 0.7694 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.5012, allocations: 12.03 kB / 0.7695 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.601e-05/0.5013, allocations: 4.844 kB / 0.7695 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.5014, allocations: 168.3 kB / 0.7696 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.5015, allocations: 12.38 kB / 0.7696 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.5015, allocations: 4.375 kB / 0.7696 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.5016, allocations: 57.98 kB / 0.7697 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.5016, allocations: 0 / 0.7697 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.5016, allocations: 0 / 0.7697 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.5016, allocations: 4 kB / 0.7697 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.363e-05/0.5017, allocations: 27.92 kB / 0.7697 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004936/0.5022, allocations: 308.6 kB / 0.77 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.5023, allocations: 58.59 kB / 0.7701 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.342e-05/0.5024, allocations: 24.95 kB / 0.7701 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.5024, allocations: 0 / 0.7701 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001604/0.5025, allocations: 75.31 kB / 0.7702 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.5025, allocations: 0 / 0.7702 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0002254/0.5028, allocations: 105.5 kB / 0.7703 GB, free: 448 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.5028, allocations: 55.41 kB / 0.7703 GB, free: 380 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.571e-05/0.5029, allocations: 105.8 kB / 0.7704 GB, free: 264 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.5029, allocations: 33.7 kB / 0.7705 GB, free: 224 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.794e-05/0.503, allocations: 84.14 kB / 0.7705 GB, free: 136 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.503, allocations: 15.72 kB / 0.7706 GB, free: 120 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.494e-05/0.5031, allocations: 29.7 kB / 0.7706 GB, free: 84 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.5032, allocations: 322.8 kB / 0.7709 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.836e-05/0.5033, allocations: 23.92 kB / 0.7709 GB, free: 15.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.209e-05/0.5033, allocations: 43.42 kB / 0.771 GB, free: 15.68 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.825e-05/0.5034, allocations: 63.38 kB / 0.771 GB, free: 15.61 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.5034, allocations: 0 / 0.771 GB, free: 15.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001503/0.5036, allocations: 101.5 kB / 0.7711 GB, free: 15.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.5036, allocations: 8.031 kB / 0.7711 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.5036, allocations: 0 / 0.7711 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.5036, allocations: 4 kB / 0.7711 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.532e-05/0.5037, allocations: 11.98 kB / 0.7711 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/0.5037, allocations: 4 kB / 0.7711 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.881e-05/0.5038, allocations: 15.94 kB / 0.7712 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.5038, allocations: 4 kB / 0.7712 GB, free: 15.45 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.508e-05/0.5039, allocations: 124.2 kB / 0.7713 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.286e-05/0.5039, allocations: 4 kB / 0.7713 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.725e-05/0.504, allocations: 11.97 kB / 0.7713 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.504, allocations: 0 / 0.7713 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.504, allocations: 4 kB / 0.7713 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.504, allocations: 0 / 0.7713 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004012/0.5044, allocations: 362.7 kB / 0.7716 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.5044, allocations: 0 / 0.7716 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.406e-05/0.5045, allocations: 15.92 kB / 0.7717 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.5045, allocations: 0 / 0.7717 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.5045, allocations: 4 kB / 0.7717 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.5045, allocations: 7.938 kB / 0.7717 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.5045, allocations: 0 / 0.7717 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/0.5047, allocations: 183.4 kB / 0.7718 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.536e-05/0.5047, allocations: 77.11 kB / 0.7719 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.5047, allocations: 0 / 0.7719 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.773e-05/0.5048, allocations: 11.92 kB / 0.7719 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.537e-05/0.5049, allocations: 8.281 kB / 0.7719 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.5049, allocations: 8 kB / 0.7719 GB, free: 14.55 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.985e-05/0.5049, allocations: 87.25 kB / 0.772 GB, free: 14.46 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5049, allocations: 0 / 0.772 GB, free: 14.46 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002414/0.5052, allocations: 19.94 kB / 0.772 GB, free: 14.45 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.0001034/0.5053, allocations: 95.25 kB / 0.7721 GB, free: 14.34 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000135/0.5054, allocations: 55.91 kB / 0.7722 GB, free: 14.29 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.5054, allocations: 0 / 0.7722 GB, free: 14.29 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.189e-05/0.5055, allocations: 24 kB / 0.7722 GB, free: 14.27 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.5058, allocations: 15.98 kB / 0.7722 GB, free: 14.25 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004316/0.5062, allocations: 191.6 kB / 0.7724 GB, free: 14.03 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.5065, allocations: 0.6923 MB / 0.7731 GB, free: 13.31 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.595e-05/0.5066, allocations: 11.44 kB / 0.7731 GB, free: 13.3 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.5066, allocations: 0 / 0.7731 GB, free: 13.3 MB / 0.545 GB Notification: Performance of Templates: time 0.002323/0.5089, allocations: 0.8701 MB / 0.7739 GB, free: 12.43 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)