Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.593/2.593, allocations: 287.5 MB / 302.4 MB, free: 8.273 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.00137/0.00137, allocations: 176.5 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.143/2.143, allocations: 205.4 MB / 0.6297 GB, free: 10.52 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001008/0.001008, allocations: 86.38 kB / 0.743 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005086/0.0005088, allocations: 16.62 kB / 0.8658 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2355, allocations: 115.3 MB / 0.9783 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.001798/0.2373, allocations: 1.184 MB / 0.9795 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008768/0.2382, allocations: 457 kB / 0.9799 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.454e-05/0.2383, allocations: 0 / 0.9799 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.01e-05/0.2383, allocations: 3.984 kB / 0.9799 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.23e-05/0.2384, allocations: 7.938 kB / 0.9799 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001663/0.2386, allocations: 15.98 kB / 0.98 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.123e-05/0.2387, allocations: 43.86 kB / 0.98 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.2389, allocations: 15.97 kB / 0.98 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.064e-05/0.2389, allocations: 15.92 kB / 0.98 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.851e-05/0.239, allocations: 23.92 kB / 0.9801 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.239, allocations: 0 / 0.9801 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.652e-05/0.2391, allocations: 4 kB / 0.9801 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.862e-05/0.2391, allocations: 7.984 kB / 0.9801 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.382e-05/0.2391, allocations: 33.64 kB / 0.9801 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.547e-05/0.2392, allocations: 32.16 kB / 0.9801 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.2392, allocations: 0 / 0.9801 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.556e-06/0.2393, allocations: 0 / 0.9801 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.2393, allocations: 3.938 kB / 0.9801 GB, free: 26.52 MB / 0.6198 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.0005305/0.2398, allocations: 363.2 kB / 0.9805 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.2399, allocations: 12.02 kB / 0.9805 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.395e-05/0.2399, allocations: 7.906 kB / 0.9805 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.24, allocations: 171 kB / 0.9807 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.2401, allocations: 4 kB / 0.9807 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.2401, allocations: 4 kB / 0.9807 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.2402, allocations: 61.61 kB / 0.9807 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.2402, allocations: 0 / 0.9807 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.2403, allocations: 8 kB / 0.9807 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.2403, allocations: 0 / 0.9807 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.534e-05/0.2404, allocations: 23.98 kB / 0.9808 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005481/0.2409, allocations: 304.8 kB / 0.9811 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.2411, allocations: 54.56 kB / 0.9811 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.146e-05/0.2412, allocations: 24.95 kB / 0.9811 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.2412, allocations: 0 / 0.9811 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001905/0.2414, allocations: 79.31 kB / 0.9812 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 2.445e-06/0.2414, allocations: 0 / 0.9812 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0002841/0.2417, allocations: 101.6 kB / 0.9813 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.2418, allocations: 55.78 kB / 0.9814 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.969e-05/0.2418, allocations: 113.8 kB / 0.9815 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.2419, allocations: 25.7 kB / 0.9815 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.758e-05/0.2419, allocations: 88.14 kB / 0.9816 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.242, allocations: 31.58 kB / 0.9816 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-06/0.242, allocations: 0 / 0.9816 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.391e-05/0.242, allocations: 318.8 kB / 0.9819 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.13e-05/0.2421, allocations: 16 kB / 0.9819 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.024e-05/0.2422, allocations: 47.42 kB / 0.982 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.824e-05/0.2423, allocations: 32.09 kB / 0.982 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2423, allocations: 3.938 kB / 0.982 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001912/0.2425, allocations: 89.62 kB / 0.9821 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.2425, allocations: 4 kB / 0.9821 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.2425, allocations: 0 / 0.9821 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.2426, allocations: 7.953 kB / 0.9821 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.2427, allocations: 16.02 kB / 0.9821 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.2427, allocations: 3.938 kB / 0.9821 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.2429, allocations: 15.91 kB / 0.9821 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.2429, allocations: 4 kB / 0.9821 GB, free: 24.23 MB / 0.6198 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,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.577e-05/0.243, allocations: 119.1 kB / 0.9822 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.492e-05/0.243, allocations: 0 / 0.9822 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.681e-05/0.243, allocations: 11.97 kB / 0.9823 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.2431, allocations: 4 kB / 0.9823 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.2431, allocations: 3.953 kB / 0.9823 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.2431, allocations: 0 / 0.9823 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004937/0.2436, allocations: 354.4 kB / 0.9826 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.2436, allocations: 0 / 0.9826 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.255e-05/0.2437, allocations: 11.92 kB / 0.9826 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.391e-06/0.2437, allocations: 4 kB / 0.9826 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.2437, allocations: 7.953 kB / 0.9826 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.2437, allocations: 0 / 0.9826 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.2437, allocations: 0 / 0.9826 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.2439, allocations: 179.6 kB / 0.9828 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.785e-05/0.244, allocations: 85.05 kB / 0.9829 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.244, allocations: 11.94 kB / 0.9829 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.2441, allocations: 11.94 kB / 0.9829 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.598e-05/0.2442, allocations: 11.98 kB / 0.9829 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.2442, allocations: 4 kB / 0.9829 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.596e-05/0.2443, allocations: 79.28 kB / 0.983 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2443, allocations: 4 kB / 0.983 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002971/0.2446, allocations: 12 kB / 0.983 GB, free: 23.24 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001128/0.2447, allocations: 95.25 kB / 0.9831 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000185/0.2449, allocations: 55.91 kB / 0.9832 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.2449, allocations: 0 / 0.9832 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.493e-05/0.245, allocations: 28 kB / 0.9832 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.2454, allocations: 20.14 kB / 0.9832 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005073/0.2459, allocations: 172.6 kB / 0.9834 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001375/0.246, allocations: 0.6848 MB / 0.984 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.392e-05/0.2461, allocations: 7.984 kB / 0.984 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.409e-05/0.2461, allocations: 11.44 kB / 0.9841 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of SimCode: time 7.71e-07/0.2462, allocations: 0 / 0.9841 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of Templates: time 0.003556/0.2497, allocations: 0.6607 MB / 0.9847 GB, free: 21.45 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)