Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.703/1.703, allocations: 292.3 MB / 308.1 MB, free: 4.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001625/0.001625, allocations: 192.5 kB / 376.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.79/1.79, allocations: 205 MB / 0.6353 GB, free: 9.785 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001228/0.001228, allocations: 92.72 kB / 0.748 GB, free: 61.32 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001037/0.001036, allocations: 55.92 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3057, allocations: 114.5 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.003416/0.3092, allocations: 1.538 MB / 0.9837 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001025/0.3102, allocations: 471.8 kB / 0.9842 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.192e-05/0.3103, allocations: 0 / 0.9842 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.384e-05/0.3104, allocations: 3.938 kB / 0.9842 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001234/0.3106, allocations: 3.938 kB / 0.9842 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000217/0.3108, allocations: 19.98 kB / 0.9842 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.3109, allocations: 51.91 kB / 0.9842 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.3111, allocations: 19.97 kB / 0.9843 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.813e-05/0.3112, allocations: 23.86 kB / 0.9843 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.582e-05/0.3113, allocations: 15.92 kB / 0.9843 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.3113, allocations: 4 kB / 0.9843 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.742e-05/0.3113, allocations: 4 kB / 0.9843 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.086e-05/0.3114, allocations: 11.92 kB / 0.9843 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.376e-05/0.3114, allocations: 19.92 kB / 0.9843 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.3116, allocations: 44.09 kB / 0.9844 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3116, allocations: 0 / 0.9844 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3116, allocations: 4 kB / 0.9844 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.778e-06/0.3116, allocations: 0 / 0.9844 GB, free: 8.16 MB / 0.7136 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.0007782/0.3124, allocations: 363.4 kB / 0.9847 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/0.3124, allocations: 12.03 kB / 0.9847 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.379e-05/0.3125, allocations: 4.844 kB / 0.9847 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.3127, allocations: 168.3 kB / 0.9849 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.3127, allocations: 12.3 kB / 0.9849 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.3127, allocations: 8.375 kB / 0.9849 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.3129, allocations: 61.94 kB / 0.985 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.3129, allocations: 0 / 0.985 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.3129, allocations: 0 / 0.985 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.313, allocations: 4 kB / 0.985 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.184e-05/0.313, allocations: 19.98 kB / 0.985 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005732/0.3136, allocations: 304.6 kB / 0.9853 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.3137, allocations: 62.56 kB / 0.9854 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.85e-05/0.3138, allocations: 24.94 kB / 0.9854 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.3138, allocations: 0 / 0.9854 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002325/0.3141, allocations: 71.42 kB / 0.9854 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.674e-06/0.3141, allocations: 0 / 0.9854 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0002664/0.3144, allocations: 101.5 kB / 0.9855 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/0.3144, allocations: 63.41 kB / 0.9856 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.96e-05/0.3145, allocations: 101.8 kB / 0.9857 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.3146, allocations: 29.7 kB / 0.9857 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.597e-05/0.3146, allocations: 92.03 kB / 0.9858 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.194e-05/0.3147, allocations: 23.73 kB / 0.9858 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.692e-05/0.3147, allocations: 25.72 kB / 0.9859 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3149, allocations: 322.8 kB / 0.9862 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.054e-05/0.3149, allocations: 20 kB / 0.9862 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.731e-05/0.315, allocations: 47.3 kB / 0.9862 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.3151, allocations: 67.59 kB / 0.9863 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3151, allocations: 0 / 0.9863 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001718/0.3153, allocations: 105.8 kB / 0.9864 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.3153, allocations: 4 kB / 0.9864 GB, free: 5.836 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.3153, allocations: 4.031 kB / 0.9864 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.3154, allocations: 4 kB / 0.9864 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.623e-05/0.3155, allocations: 11.94 kB / 0.9864 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.3155, allocations: 0 / 0.9864 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.834e-05/0.3156, allocations: 7.984 kB / 0.9864 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.3156, allocations: 8 kB / 0.9864 GB, free: 5.801 MB / 0.7136 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.0001629/0.3157, allocations: 125.7 kB / 0.9866 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/0.3158, allocations: 7.906 kB / 0.9866 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.132e-05/0.3158, allocations: 11.97 kB / 0.9866 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.3158, allocations: 0 / 0.9866 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.3158, allocations: 4 kB / 0.9866 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.3159, allocations: 0 / 0.9866 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004793/0.3163, allocations: 358.4 kB / 0.9869 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3164, allocations: 0 / 0.9869 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.972e-05/0.3164, allocations: 4 kB / 0.9869 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.3164, allocations: 64 / 0.9869 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.3164, allocations: 8 kB / 0.9869 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.203e-06/0.3164, allocations: 3.938 kB / 0.9869 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.3164, allocations: 11.92 kB / 0.987 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005926/0.317, allocations: 0.7473 MB / 0.9877 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.861e-05/0.3171, allocations: 81.05 kB / 0.9878 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.3171, allocations: 0 / 0.9878 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.943e-05/0.3172, allocations: 15.98 kB / 0.9878 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.763e-05/0.3173, allocations: 7.984 kB / 0.9878 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.906e-06/0.3173, allocations: 4 kB / 0.9878 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.122e-05/0.3174, allocations: 83.28 kB / 0.9879 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3174, allocations: 0 / 0.9879 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003692/0.3177, allocations: 15.91 kB / 0.9879 GB, free: 4.18 MB / 0.7136 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.0001518/0.3179, allocations: 109.6 kB / 0.988 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001513/0.3181, allocations: 55.8 kB / 0.988 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.3181, allocations: 4.062 kB / 0.988 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.499e-05/0.3181, allocations: 27.98 kB / 0.9881 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.3184, allocations: 11.88 kB / 0.9881 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005954/0.319, allocations: 298.1 kB / 0.9884 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.3194, allocations: 0.6848 MB / 0.989 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.604e-05/0.3194, allocations: 12.34 kB / 0.989 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.151e-05/0.3195, allocations: 11.44 kB / 0.9891 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.3195, allocations: 0 / 0.9891 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of Templates: time 0.003291/0.3228, allocations: 0.7116 MB / 0.9897 GB, free: 2.195 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)