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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001599/0.001598, allocations: 107.1 kB / 15.99 MB, free: 6.348 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.001744/0.001744, allocations: 191.9 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.374/1.374, allocations: 205.1 MB / 222.8 MB, free: 4.688 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.797/1.797, allocations: 292.3 MB / 0.5492 GB, free: 13.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 68.11 kB / 0.6716 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2499, allocations: 114.6 MB / 0.7835 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.00287/0.2528, allocations: 1.534 MB / 0.785 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008052/0.2536, allocations: 480.8 kB / 0.7855 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.403e-05/0.2537, allocations: 0 / 0.7855 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.022e-05/0.2538, allocations: 3.984 kB / 0.7855 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.268e-05/0.2539, allocations: 7.922 kB / 0.7855 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001649/0.254, allocations: 15.98 kB / 0.7855 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.235e-05/0.2541, allocations: 55.8 kB / 0.7855 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.2542, allocations: 15.98 kB / 0.7856 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.348e-05/0.2543, allocations: 23.91 kB / 0.7856 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.904e-05/0.2544, allocations: 19.92 kB / 0.7856 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.047e-05/0.2544, allocations: 4 kB / 0.7856 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.391e-05/0.2544, allocations: 8 kB / 0.7856 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.994e-05/0.2545, allocations: 7.984 kB / 0.7856 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.191e-05/0.2545, allocations: 27.86 kB / 0.7856 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.927e-05/0.2546, allocations: 24.25 kB / 0.7857 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2546, allocations: 0 / 0.7857 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2546, allocations: 0 / 0.7857 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.2546, allocations: 4 kB / 0.7857 GB, free: 11.71 MB / 0.6075 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.0005655/0.2552, allocations: 363.3 kB / 0.786 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.2552, allocations: 8.031 kB / 0.786 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.7e-05/0.2553, allocations: 8.844 kB / 0.786 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.2554, allocations: 176.3 kB / 0.7862 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.2554, allocations: 4.375 kB / 0.7862 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.2555, allocations: 4.375 kB / 0.7862 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.2556, allocations: 61.98 kB / 0.7863 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.2556, allocations: 0 / 0.7863 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.2556, allocations: 11.94 kB / 0.7863 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.2556, allocations: 0 / 0.7863 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.952e-05/0.2557, allocations: 19.98 kB / 0.7863 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004946/0.2562, allocations: 300.7 kB / 0.7866 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.2563, allocations: 62.66 kB / 0.7866 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.319e-05/0.2564, allocations: 24.88 kB / 0.7867 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.2564, allocations: 7.938 kB / 0.7867 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001913/0.2566, allocations: 71.38 kB / 0.7867 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.2566, allocations: 0 / 0.7867 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0002274/0.2568, allocations: 97.53 kB / 0.7868 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.2569, allocations: 67.27 kB / 0.7869 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.215e-05/0.257, allocations: 105.9 kB / 0.787 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.257, allocations: 25.7 kB / 0.787 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.933e-05/0.2571, allocations: 92.12 kB / 0.7871 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.886e-05/0.2571, allocations: 27.64 kB / 0.7871 GB, free: 10 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.295e-05/0.2572, allocations: 29.7 kB / 0.7872 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.2573, allocations: 314.8 kB / 0.7875 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.573e-05/0.2573, allocations: 19.98 kB / 0.7875 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.368e-05/0.2574, allocations: 47.42 kB / 0.7875 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.551e-05/0.2575, allocations: 67.55 kB / 0.7876 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2575, allocations: 0 / 0.7876 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001472/0.2576, allocations: 97.52 kB / 0.7877 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.2577, allocations: 6.031 kB / 0.7877 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.2577, allocations: 8.031 kB / 0.7877 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.2577, allocations: 0 / 0.7877 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.877e-05/0.2578, allocations: 15.92 kB / 0.7877 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.2578, allocations: 4 kB / 0.7877 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.979e-05/0.2579, allocations: 4 kB / 0.7877 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.2579, allocations: 4 kB / 0.7877 GB, free: 9.352 MB / 0.6075 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.975e-05/0.258, allocations: 127.9 kB / 0.7879 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.148e-05/0.258, allocations: 3.984 kB / 0.7879 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.677e-05/0.258, allocations: 11.97 kB / 0.7879 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.258, allocations: 4 kB / 0.7879 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.258, allocations: 0 / 0.7879 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.2581, allocations: 384 / 0.7879 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004048/0.2585, allocations: 362.2 kB / 0.7882 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.2585, allocations: 4 kB / 0.7882 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.281e-05/0.2585, allocations: 0 / 0.7882 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.2585, allocations: 4 kB / 0.7882 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.2585, allocations: 11.98 kB / 0.7882 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.2585, allocations: 7.938 kB / 0.7882 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2586, allocations: 0 / 0.7882 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001642/0.2587, allocations: 179.4 kB / 0.7884 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.319e-05/0.2588, allocations: 89.03 kB / 0.7885 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.2588, allocations: 0 / 0.7885 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.234e-05/0.2589, allocations: 11.94 kB / 0.7885 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.2589, allocations: 7.984 kB / 0.7885 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-06/0.259, allocations: 4 kB / 0.7885 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.593e-05/0.259, allocations: 87.36 kB / 0.7886 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.259, allocations: 0 / 0.7886 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002255/0.2592, allocations: 12 kB / 0.7886 GB, free: 8.344 MB / 0.6075 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.0001127/0.2594, allocations: 99.39 kB / 0.7887 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001435/0.2595, allocations: 59.84 kB / 0.7888 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2595, allocations: 4 kB / 0.7888 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.909e-05/0.2596, allocations: 23.98 kB / 0.7888 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.2599, allocations: 19.09 kB / 0.7888 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004467/0.2603, allocations: 215 kB / 0.789 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.2606, allocations: 0.6807 MB / 0.7897 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.402e-05/0.2606, allocations: 15.44 kB / 0.7897 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2607, allocations: 0 / 0.7897 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of Templates: time 0.002317/0.263, allocations: 0.8559 MB / 0.7905 GB, free: 6.312 MB / 0.6075 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)