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.001124/0.001124, allocations: 97.14 kB / 16.27 MB, free: 6.418 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.001048/0.001048, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.476/1.476, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.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.822/1.822, allocations: 292.3 MB / 0.5495 GB, free: 17.62 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.001459/0.001459, allocations: 59.91 kB / 0.6721 GB, free: 6.562 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2794, allocations: 114.6 MB / 0.784 GB, free: 3.887 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.003432/0.2829, allocations: 1.465 MB / 0.7854 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008862/0.2838, allocations: 487.7 kB / 0.7859 GB, free: 1.922 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.686e-05/0.2838, allocations: 4 kB / 0.7859 GB, free: 1.918 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.211e-05/0.2839, allocations: 3.938 kB / 0.7859 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.207e-05/0.284, allocations: 11.91 kB / 0.7859 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000165/0.2842, allocations: 15.98 kB / 0.7859 GB, free: 1.887 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.581e-05/0.2843, allocations: 55.78 kB / 0.786 GB, free: 1.832 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.2844, allocations: 16 kB / 0.786 GB, free: 1.816 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.516e-05/0.2845, allocations: 15.98 kB / 0.786 GB, free: 1.801 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.615e-05/0.2845, allocations: 27.84 kB / 0.7861 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.404e-05/0.2846, allocations: 4 kB / 0.7861 GB, free: 1.77 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.544e-05/0.2846, allocations: 4 kB / 0.7861 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.074e-05/0.2846, allocations: 11.98 kB / 0.7861 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.207e-05/0.2847, allocations: 31.84 kB / 0.7861 GB, free: 1.723 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.2848, allocations: 36.17 kB / 0.7861 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.2848, allocations: 0 / 0.7861 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2848, allocations: 3.938 kB / 0.7861 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.2848, allocations: 4 kB / 0.7861 GB, free: 1.68 MB / 0.6544 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.0005787/0.2854, allocations: 359.4 kB / 0.7865 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.2855, allocations: 8.031 kB / 0.7865 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.694e-05/0.2855, allocations: 8.844 kB / 0.7865 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.2857, allocations: 172.3 kB / 0.7867 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.2857, allocations: 8.375 kB / 0.7867 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.2857, allocations: 4.375 kB / 0.7867 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.2859, allocations: 61.88 kB / 0.7867 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.2859, allocations: 4 kB / 0.7867 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.2859, allocations: 7.984 kB / 0.7868 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.2859, allocations: 0 / 0.7868 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.669e-05/0.286, allocations: 23.98 kB / 0.7868 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005627/0.2866, allocations: 296.7 kB / 0.7871 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.2867, allocations: 58.59 kB / 0.7871 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.599e-05/0.2868, allocations: 28.94 kB / 0.7871 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.2868, allocations: 4 kB / 0.7871 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001821/0.287, allocations: 75.33 kB / 0.7872 GB, free: 428 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.287, allocations: 3.938 kB / 0.7872 GB, free: 424 kB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0002562/0.2872, allocations: 93.67 kB / 0.7873 GB, free: 324 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.2873, allocations: 59.34 kB / 0.7874 GB, free: 252 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.641e-05/0.2874, allocations: 109.8 kB / 0.7875 GB, free: 132 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.2874, allocations: 29.7 kB / 0.7875 GB, free: 96 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.815e-05/0.2875, allocations: 84.14 kB / 0.7876 GB, free: 8 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.4884/0.7759, allocations: 23.91 kB / 0.7876 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.26e-05/0.776, allocations: 27.81 kB / 0.7876 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.34e-05/0.7761, allocations: 318.8 kB / 0.7879 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.766e-05/0.7762, allocations: 17.75 kB / 0.788 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.024e-05/0.7763, allocations: 44.53 kB / 0.788 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.7764, allocations: 70.69 kB / 0.7881 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.7764, allocations: 0 / 0.7881 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002121/0.7767, allocations: 97.34 kB / 0.7882 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.7767, allocations: 6.125 kB / 0.7882 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.7767, allocations: 2.875 kB / 0.7882 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/0.7767, allocations: 0 / 0.7882 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.7769, allocations: 10.83 kB / 0.7882 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.7769, allocations: 5.562 kB / 0.7882 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.306e-05/0.777, allocations: 8.531 kB / 0.7882 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.777, allocations: 14.19 kB / 0.7882 GB, free: 48.49 MB / 0.6544 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 0.0001069/0.7771, allocations: 118.2 kB / 0.7883 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.102e-05/0.7772, allocations: 7 kB / 0.7883 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.512e-05/0.7772, allocations: 10.56 kB / 0.7883 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.7772, allocations: 0 / 0.7883 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.7772, allocations: 3.938 kB / 0.7883 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.7772, allocations: 2.875 kB / 0.7883 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004706/0.7777, allocations: 357.5 kB / 0.7887 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.7777, allocations: 5.781 kB / 0.7887 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.82e-05/0.7778, allocations: 5.719 kB / 0.7887 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.7778, allocations: 6 kB / 0.7887 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.7778, allocations: 1.094 kB / 0.7887 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.7778, allocations: 3.188 kB / 0.7887 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.7778, allocations: 7.516 kB / 0.7887 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001731/0.778, allocations: 175.2 kB / 0.7889 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.117e-05/0.778, allocations: 87.77 kB / 0.789 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.7781, allocations: 4.469 kB / 0.789 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.732e-05/0.7782, allocations: 8.219 kB / 0.789 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.035e-05/0.7782, allocations: 14.78 kB / 0.789 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.7782, allocations: 0 / 0.789 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.989e-05/0.7783, allocations: 86.92 kB / 0.7891 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7783, allocations: 0 / 0.7891 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002781/0.7786, allocations: 17.48 kB / 0.7891 GB, free: 47.77 MB / 0.6544 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.0001188/0.7787, allocations: 97.66 kB / 0.7892 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001856/0.7789, allocations: 59.84 kB / 0.7892 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.7789, allocations: 0.5312 kB / 0.7892 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 5.671e-05/0.779, allocations: 30.11 kB / 0.7893 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.7793, allocations: 12.62 kB / 0.7893 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004276/0.7797, allocations: 183.9 kB / 0.7894 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000168/0.7799, allocations: 0.6844 MB / 0.7901 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.538e-05/0.7799, allocations: 15.53 kB / 0.7901 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of SimCode: time 2.104e-06/0.7799, allocations: 0 / 0.7901 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of Templates: time 0.00219/0.7821, allocations: 0.8617 MB / 0.791 GB, free: 46.84 MB / 0.6544 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)