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.546/2.546, allocations: 287.3 MB / 302.3 MB, free: 8.219 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.001617/0.001617, allocations: 183 kB / 370.8 MB, free: 10.85 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.081/2.081, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001161/0.00116, allocations: 102.1 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006927/0.0006931, allocations: 11.36 kB / 0.8656 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2168, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.001745/0.2186, allocations: 1.176 MB / 0.9793 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008926/0.2195, allocations: 457.2 kB / 0.9798 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.308e-05/0.2196, allocations: 8 kB / 0.9798 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.273e-05/0.2196, allocations: 0 / 0.9798 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.106e-05/0.2197, allocations: 11.92 kB / 0.9798 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001481/0.2199, allocations: 15.97 kB / 0.9798 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.589e-05/0.22, allocations: 31.91 kB / 0.9798 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.87e-05/0.2201, allocations: 15.97 kB / 0.9798 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.252e-05/0.2201, allocations: 19.92 kB / 0.9799 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.569e-05/0.2202, allocations: 19.91 kB / 0.9799 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.2202, allocations: 0 / 0.9799 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.54e-05/0.2203, allocations: 8 kB / 0.9799 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.71e-05/0.2203, allocations: 8 kB / 0.9799 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.509e-05/0.2203, allocations: 33.69 kB / 0.9799 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.762e-05/0.2204, allocations: 24.17 kB / 0.9799 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.2204, allocations: 0 / 0.9799 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2204, allocations: 4 kB / 0.98 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.669e-06/0.2205, allocations: 0 / 0.98 GB, free: 26.54 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.00051/0.221, allocations: 355.2 kB / 0.9803 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.221, allocations: 16.02 kB / 0.9803 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.865e-05/0.2211, allocations: 3.906 kB / 0.9803 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.595e-05/0.2212, allocations: 171 kB / 0.9805 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.2212, allocations: 4 kB / 0.9805 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.2212, allocations: 4 kB / 0.9805 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.2214, allocations: 61.61 kB / 0.9805 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.2214, allocations: 0 / 0.9805 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.2214, allocations: 3.938 kB / 0.9805 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.2214, allocations: 0 / 0.9805 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.797e-05/0.2215, allocations: 31.98 kB / 0.9806 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005387/0.2221, allocations: 304.7 kB / 0.9809 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.2222, allocations: 58.56 kB / 0.9809 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.2223, allocations: 0 / 0.9809 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001844/0.2224, allocations: 83.47 kB / 0.981 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.714e-06/0.2225, allocations: 0 / 0.981 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0002738/0.2227, allocations: 101.6 kB / 0.9811 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.2228, allocations: 59.41 kB / 0.9812 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7e-05/0.2229, allocations: 105.8 kB / 0.9813 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.2229, allocations: 33.7 kB / 0.9813 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.508e-05/0.223, allocations: 84.14 kB / 0.9814 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.223, allocations: 27.64 kB / 0.9814 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.662e-06/0.223, allocations: 0 / 0.9814 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.759e-05/0.2231, allocations: 314.8 kB / 0.9817 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.956e-05/0.2231, allocations: 19.98 kB / 0.9817 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.605e-05/0.2232, allocations: 47.36 kB / 0.9818 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.122e-05/0.2233, allocations: 24 kB / 0.9818 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2233, allocations: 0 / 0.9818 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001846/0.2235, allocations: 93.55 kB / 0.9819 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.2235, allocations: 4 kB / 0.9819 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.2235, allocations: 0 / 0.9819 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.2235, allocations: 4.281 kB / 0.9819 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.374e-05/0.2237, allocations: 15.95 kB / 0.9819 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.2237, allocations: 0 / 0.9819 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.2238, allocations: 19.92 kB / 0.9819 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.2238, allocations: 4 kB / 0.9819 GB, free: 24.3 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.006e-05/0.2239, allocations: 123.1 kB / 0.982 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.575e-05/0.2239, allocations: 4 kB / 0.982 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.129e-05/0.224, allocations: 11.91 kB / 0.982 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.224, allocations: 64 / 0.982 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.224, allocations: 7.953 kB / 0.9821 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.224, allocations: 3.984 kB / 0.9821 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004667/0.2245, allocations: 370.7 kB / 0.9824 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.2245, allocations: 4 kB / 0.9824 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.807e-05/0.2245, allocations: 0 / 0.9824 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.2246, allocations: 4 kB / 0.9824 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.2246, allocations: 3.953 kB / 0.9824 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.2246, allocations: 0 / 0.9824 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2246, allocations: 0 / 0.9824 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001776/0.2248, allocations: 183.5 kB / 0.9826 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.758e-05/0.2248, allocations: 84.95 kB / 0.9827 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.2248, allocations: 4 kB / 0.9827 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.225, allocations: 11.94 kB / 0.9827 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.197e-05/0.2251, allocations: 11.98 kB / 0.9827 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.2251, allocations: 7.938 kB / 0.9827 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.29e-05/0.2251, allocations: 79.28 kB / 0.9828 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2251, allocations: 4 kB / 0.9828 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003162/0.2255, allocations: 12 kB / 0.9828 GB, free: 23.29 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 9.667e-05/0.2256, allocations: 99.23 kB / 0.9829 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001731/0.2257, allocations: 51.92 kB / 0.9829 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2258, allocations: 0 / 0.9829 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.197e-05/0.2258, allocations: 27.92 kB / 0.983 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.2261, allocations: 12 kB / 0.983 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004826/0.2266, allocations: 169.1 kB / 0.9831 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001435/0.2268, allocations: 0.6965 MB / 0.9838 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.45e-05/0.2268, allocations: 15.92 kB / 0.9838 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.62e-05/0.2269, allocations: 11.44 kB / 0.9839 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of SimCode: time 6.21e-07/0.2269, allocations: 0 / 0.9839 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of Templates: time 0.003357/0.2302, allocations: 0.6427 MB / 0.9845 GB, free: 21.51 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)