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.001228/0.001228, allocations: 109.4 kB / 15.69 MB, free: 128 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.001297/0.001297, allocations: 186.8 kB / 16.62 MB, free: 6.613 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.49/1.49, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.816/1.816, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001587/0.001587, allocations: 64.66 kB / 0.6722 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.225, allocations: 114.6 MB / 0.7841 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.003009/0.228, allocations: 1.473 MB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009104/0.229, allocations: 484.8 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.518e-05/0.2291, allocations: 0 / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.759e-05/0.2291, allocations: 3.938 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.602e-05/0.2292, allocations: 7.938 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001828/0.2294, allocations: 23.95 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.2295, allocations: 55.78 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.2296, allocations: 8 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7e-05/0.2297, allocations: 23.92 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.166e-05/0.2298, allocations: 23.92 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.2298, allocations: 4 kB / 0.7862 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.379e-05/0.2299, allocations: 4 kB / 0.7862 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.114e-05/0.2299, allocations: 11.97 kB / 0.7862 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.29e-05/0.2299, allocations: 31.8 kB / 0.7862 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001173/0.2301, allocations: 39.89 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2301, allocations: 0 / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2301, allocations: 0 / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.2301, allocations: 0 / 0.7862 GB, free: 10.57 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.0006068/0.2307, allocations: 359.4 kB / 0.7866 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.2308, allocations: 12.03 kB / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.2308, allocations: 8.844 kB / 0.7866 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.231, allocations: 172.3 kB / 0.7868 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.231, allocations: 4.375 kB / 0.7868 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.231, allocations: 8.312 kB / 0.7868 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.2312, allocations: 65.88 kB / 0.7868 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.2312, allocations: 0 / 0.7868 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.2312, allocations: 0 / 0.7868 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.2312, allocations: 8 kB / 0.7868 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.684e-05/0.2313, allocations: 23.97 kB / 0.7869 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005077/0.2318, allocations: 304.6 kB / 0.7872 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.2319, allocations: 54.56 kB / 0.7872 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.571e-05/0.232, allocations: 24.94 kB / 0.7872 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.232, allocations: 4 kB / 0.7872 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001643/0.2322, allocations: 71.42 kB / 0.7873 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/0.2322, allocations: 0 / 0.7873 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0002402/0.2324, allocations: 101.5 kB / 0.7874 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.2325, allocations: 59.41 kB / 0.7875 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.165e-05/0.2325, allocations: 109.8 kB / 0.7876 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.2326, allocations: 25.7 kB / 0.7876 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.366e-05/0.2326, allocations: 88.14 kB / 0.7877 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.2327, allocations: 27.64 kB / 0.7877 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.432e-05/0.2327, allocations: 25.72 kB / 0.7877 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.2328, allocations: 322.8 kB / 0.788 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.544e-05/0.2328, allocations: 16 kB / 0.788 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.576e-05/0.2329, allocations: 51.36 kB / 0.7881 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.244e-05/0.233, allocations: 67.73 kB / 0.7882 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.233, allocations: 4 kB / 0.7882 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001439/0.2332, allocations: 101.5 kB / 0.7883 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.2332, allocations: 4 kB / 0.7883 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.2332, allocations: 3.938 kB / 0.7883 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.2332, allocations: 4 kB / 0.7883 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.317e-05/0.2333, allocations: 8 kB / 0.7883 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.2333, allocations: 0 / 0.7883 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.278e-05/0.2334, allocations: 15.95 kB / 0.7883 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/0.2334, allocations: 8 kB / 0.7883 GB, free: 8.203 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 8.799e-05/0.2335, allocations: 125 kB / 0.7884 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.26e-05/0.2335, allocations: 4 kB / 0.7884 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.971e-05/0.2335, allocations: 7.969 kB / 0.7884 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.2335, allocations: 4 kB / 0.7884 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2335, allocations: 0 / 0.7884 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.2336, allocations: 3.984 kB / 0.7884 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004048/0.234, allocations: 362.3 kB / 0.7888 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.234, allocations: 0 / 0.7888 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.644e-05/0.234, allocations: 4 kB / 0.7888 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.234, allocations: 0 / 0.7888 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.234, allocations: 0 / 0.7888 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.234, allocations: 7.938 kB / 0.7888 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.234, allocations: 0 / 0.7888 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001599/0.2342, allocations: 191.3 kB / 0.789 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.538e-05/0.2343, allocations: 77.11 kB / 0.7891 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.2343, allocations: 352 / 0.7891 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.685e-05/0.2344, allocations: 19.92 kB / 0.7891 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.515e-05/0.2344, allocations: 7.984 kB / 0.7891 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.2344, allocations: 4 kB / 0.7891 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.191e-05/0.2345, allocations: 87.27 kB / 0.7892 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2345, allocations: 0 / 0.7892 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002359/0.2347, allocations: 12 kB / 0.7892 GB, free: 7.203 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.0001514/0.2349, allocations: 111.4 kB / 0.7893 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001469/0.235, allocations: 55.86 kB / 0.7893 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.235, allocations: 0 / 0.7893 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.505e-05/0.2351, allocations: 27.92 kB / 0.7894 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.2354, allocations: 14.66 kB / 0.7894 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000415/0.2358, allocations: 153.1 kB / 0.7895 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.2361, allocations: 0.6924 MB / 0.7902 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.997e-05/0.2362, allocations: 4 kB / 0.7902 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.991e-05/0.2362, allocations: 11.44 kB / 0.7902 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2362, allocations: 0 / 0.7902 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of Templates: time 0.002953/0.2392, allocations: 0.782 MB / 0.791 GB, free: 5.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)