Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.001236/0.001239, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.434/1.434, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.814/2.814, allocations: 472.6 MB / 0.7451 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001204, allocations: 70.34 kB / 0.912 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3046, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002651/0.3073, allocations: 1.467 MB / 1.07 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006591/0.308, allocations: 446.8 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.033e-05/0.308, allocations: 4 kB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.468e-05/0.3081, allocations: 7.922 kB / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.975e-05/0.3082, allocations: 7.938 kB / 1.07 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001485/0.3083, allocations: 19.92 kB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.441e-05/0.3084, allocations: 51.91 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.3085, allocations: 19.92 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.018e-05/0.3086, allocations: 15.98 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.698e-05/0.3086, allocations: 27.84 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.3087, allocations: 4 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.167e-05/0.3087, allocations: 4 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.36e-05/0.3087, allocations: 15.94 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.679e-05/0.3088, allocations: 23.86 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.699e-05/0.3089, allocations: 39.88 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3089, allocations: 0 / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3089, allocations: 0 / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.3089, allocations: 0 / 1.07 GB, free: 8.258 MB / 0.8262 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.0005014/0.3094, allocations: 359.7 kB / 1.071 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.3094, allocations: 8.031 kB / 1.071 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.572e-05/0.3095, allocations: 12.83 kB / 1.071 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.3096, allocations: 176.3 kB / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.3096, allocations: 4.375 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.3096, allocations: 4.375 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.3098, allocations: 61.92 kB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.3098, allocations: 0 / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.3098, allocations: 8 kB / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.3098, allocations: 0 / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.932e-05/0.3099, allocations: 19.98 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00047/0.3103, allocations: 308.7 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.3105, allocations: 50.62 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.66e-05/0.3105, allocations: 24.88 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.3105, allocations: 4 kB / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001539/0.3107, allocations: 79.36 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.3107, allocations: 0 / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0002168/0.3109, allocations: 97.61 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.311, allocations: 51.41 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.216e-05/0.3111, allocations: 117.7 kB / 1.072 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.3111, allocations: 25.7 kB / 1.072 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.311e-05/0.3111, allocations: 96.11 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.3112, allocations: 23.66 kB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-05/0.3112, allocations: 33.7 kB / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.3113, allocations: 314.8 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.604e-05/0.3113, allocations: 19.98 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.975e-05/0.3114, allocations: 43.42 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.35e-05/0.3115, allocations: 67.38 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.3115, allocations: 4 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001477/0.3117, allocations: 93.89 kB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.3117, allocations: 5.719 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.3117, allocations: 7.984 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.3117, allocations: 3.938 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.036e-05/0.3118, allocations: 8 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.719e-06/0.3118, allocations: 7.984 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.445e-05/0.3119, allocations: 7.906 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.3119, allocations: 4 kB / 1.072 GB, free: 5.902 MB / 0.8262 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.21e-05/0.312, allocations: 125.8 kB / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.068e-05/0.312, allocations: 3.938 kB / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.485e-05/0.3121, allocations: 15.95 kB / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.3121, allocations: 0 / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.3121, allocations: 0 / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3121, allocations: 0 / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003731/0.3125, allocations: 366.7 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3125, allocations: 0 / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.522e-05/0.3125, allocations: 4 kB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.3125, allocations: 4 kB / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.3125, allocations: 0 / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.3125, allocations: 7.875 kB / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.3126, allocations: 3.984 kB / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001487/0.3127, allocations: 175.5 kB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.664e-05/0.3128, allocations: 88.95 kB / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.3128, allocations: 7.984 kB / 1.073 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.597e-05/0.3129, allocations: 7.938 kB / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.528e-05/0.3129, allocations: 11.98 kB / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.313, allocations: 0 / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.927e-05/0.313, allocations: 83.28 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.313, allocations: 0 / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002355/0.3132, allocations: 15.98 kB / 1.073 GB, free: 4.895 MB / 0.8262 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.0001087/0.3134, allocations: 107.7 kB / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001407/0.3135, allocations: 55.92 kB / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3135, allocations: 0 / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.228e-05/0.3136, allocations: 31.92 kB / 1.073 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.3139, allocations: 11.98 kB / 1.073 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004368/0.3143, allocations: 165.6 kB / 1.074 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.3146, allocations: 0.6807 MB / 1.074 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.832e-05/0.3147, allocations: 11.92 kB / 1.074 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.078e-05/0.3147, allocations: 15.44 kB / 1.074 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.3147, allocations: 0 / 1.074 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of Templates: time 0.002936/0.3176, allocations: 0.7801 MB / 1.075 GB, free: 2.988 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_1.6_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_1.6_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_1.6_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_1.6_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)