Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.258/2.258, allocations: 251.3 MB / 266.2 MB, free: 11.51 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001389/0.001389, allocations: 179.4 kB / 325.8 MB, free: 2.797 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.432/2.432, allocations: 205.4 MB / 0.5767 GB, free: 21.14 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001255/0.001255, allocations: 92.47 kB / 0.6812 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007092/0.0007094, allocations: 17.41 kB / 0.7953 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2662, allocations: 106.3 MB / 0.899 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002761/0.269, allocations: 1.192 MB / 0.9002 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.2703, allocations: 467.9 kB / 0.9006 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.311e-05/0.2704, allocations: 4 kB / 0.9006 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.626e-05/0.2704, allocations: 0 / 0.9006 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.2705, allocations: 7.938 kB / 0.9006 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001961/0.2707, allocations: 11.98 kB / 0.9007 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.2709, allocations: 47.84 kB / 0.9007 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.271, allocations: 15.98 kB / 0.9007 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.07e-05/0.2711, allocations: 15.92 kB / 0.9007 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.453e-05/0.2712, allocations: 23.91 kB / 0.9008 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/0.2712, allocations: 3.938 kB / 0.9008 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.851e-05/0.2713, allocations: 8 kB / 0.9008 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.954e-05/0.2713, allocations: 0 / 0.9008 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.379e-05/0.2714, allocations: 37.64 kB / 0.9008 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.362e-05/0.2715, allocations: 31.94 kB / 0.9008 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.2715, allocations: 0 / 0.9008 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.235e-06/0.2715, allocations: 0 / 0.9008 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.2715, allocations: 0 / 0.9008 GB, free: 64.04 MB / 0.6042 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.0006565/0.2722, allocations: 355.4 kB / 0.9012 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.2723, allocations: 8.031 kB / 0.9012 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.635e-05/0.2723, allocations: 8.844 kB / 0.9012 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.2725, allocations: 168.4 kB / 0.9013 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.2725, allocations: 384 / 0.9013 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.763e-05/0.2725, allocations: 8.375 kB / 0.9014 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.2727, allocations: 65.92 kB / 0.9014 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.2728, allocations: 0 / 0.9014 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.2728, allocations: 0 / 0.9014 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.2728, allocations: 4 kB / 0.9014 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.273, allocations: 31.98 kB / 0.9015 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007522/0.2737, allocations: 308.6 kB / 0.9017 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.2739, allocations: 62.5 kB / 0.9018 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.505e-05/0.274, allocations: 24.94 kB / 0.9018 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.2741, allocations: 4 kB / 0.9018 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002456/0.2743, allocations: 71.42 kB / 0.9019 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 2.795e-06/0.2743, allocations: 0 / 0.9019 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0003877/0.2747, allocations: 105.7 kB / 0.902 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.2748, allocations: 51.41 kB / 0.9021 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.701e-05/0.2749, allocations: 109.8 kB / 0.9022 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.275, allocations: 29.7 kB / 0.9022 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.711e-05/0.275, allocations: 88.12 kB / 0.9023 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.028e-05/0.2751, allocations: 19.72 kB / 0.9023 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.949e-06/0.2751, allocations: 4 kB / 0.9023 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.2e-05/0.2752, allocations: 314.8 kB / 0.9026 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.191e-05/0.2753, allocations: 19.98 kB / 0.9026 GB, free: 62 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.2754, allocations: 51.36 kB / 0.9027 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.45e-05/0.2755, allocations: 20.12 kB / 0.9027 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.2755, allocations: 4 kB / 0.9027 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002754/0.2758, allocations: 101.5 kB / 0.9028 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.2758, allocations: 4 kB / 0.9028 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.2759, allocations: 3.984 kB / 0.9028 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.2759, allocations: 4 kB / 0.9028 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.276, allocations: 8 kB / 0.9028 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.2761, allocations: 7.922 kB / 0.9028 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/0.2763, allocations: 12.03 kB / 0.9028 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.2763, allocations: 4 kB / 0.9028 GB, free: 61.77 MB / 0.6042 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 0.0001107/0.2764, allocations: 125.7 kB / 0.9029 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.431e-05/0.2765, allocations: 0 / 0.9029 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.11e-05/0.2765, allocations: 15.95 kB / 0.903 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.2766, allocations: 0 / 0.903 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.2766, allocations: 0 / 0.903 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.299e-06/0.2766, allocations: 7.938 kB / 0.903 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000692/0.2773, allocations: 362.3 kB / 0.9033 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.2773, allocations: 0 / 0.9033 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.059e-05/0.2774, allocations: 7.938 kB / 0.9033 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.2774, allocations: 0 / 0.9033 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.2775, allocations: 4 kB / 0.9033 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.2775, allocations: 7.984 kB / 0.9033 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.2775, allocations: 8 kB / 0.9033 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002649/0.2778, allocations: 183.5 kB / 0.9035 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.706e-05/0.2778, allocations: 77.11 kB / 0.9036 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.954e-05/0.2779, allocations: 7.984 kB / 0.9036 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.2781, allocations: 7.938 kB / 0.9036 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.604e-05/0.2782, allocations: 11.98 kB / 0.9036 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.2782, allocations: 0 / 0.9036 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.989e-05/0.2783, allocations: 87.27 kB / 0.9037 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.72e-07/0.2783, allocations: 4 kB / 0.9037 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005345/0.2788, allocations: 12 kB / 0.9037 GB, free: 60.76 MB / 0.6042 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.0001331/0.279, allocations: 97.64 kB / 0.9038 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002523/0.2793, allocations: 51.92 kB / 0.9039 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.2793, allocations: 0 / 0.9039 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.2794, allocations: 27.92 kB / 0.9039 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005665/0.28, allocations: 20.05 kB / 0.9039 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007518/0.2808, allocations: 176.6 kB / 0.9041 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001759/0.281, allocations: 0.6888 MB / 0.9047 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.82e-05/0.281, allocations: 4 kB / 0.9047 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.009e-05/0.2811, allocations: 11.44 kB / 0.9048 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of SimCode: time 1.723e-06/0.2811, allocations: 3.938 kB / 0.9048 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of Templates: time 0.005633/0.2868, allocations: 0.6478 MB / 0.9054 GB, free: 58.98 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_7.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_7.0.0_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)