Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.OffTimer.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.214/2.214, allocations: 248.7 MB / 256.2 MB, free: 7.008 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001434/0.001434, allocations: 181.2 kB / 315.4 MB, free: 4.016 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.277/2.277, allocations: 205.3 MB / 0.5662 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 90.48 kB / 0.6704 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.569e-05/2.567e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.1983, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9012/1.1, allocations: 132.4 MB / 1.013 GB, free: 6.359 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/1.1, allocations: 74.28 kB / 1.013 GB, free: 6.32 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004494/1.104, allocations: 1.094 MB / 1.015 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.683e-06/1.104, allocations: 4 kB / 1.015 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.079e-05/1.104, allocations: 4 kB / 1.015 GB, free: 5.359 MB / 0.6355 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.0005233/1.105, allocations: 349.7 kB / 1.015 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.563e-05/1.105, allocations: 12.03 kB / 1.015 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/1.105, allocations: 3.906 kB / 1.015 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/1.105, allocations: 174.4 kB / 1.015 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/1.105, allocations: 3.984 kB / 1.015 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/1.105, allocations: 8 kB / 1.015 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000108/1.105, allocations: 26.12 kB / 1.015 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/1.106, allocations: 47.12 kB / 1.015 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/1.106, allocations: 2.625 kB / 1.015 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/1.106, allocations: 0 / 1.015 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/1.106, allocations: 0 / 1.015 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006509/1.106, allocations: 284.8 kB / 1.015 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/1.106, allocations: 48.58 kB / 1.015 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.137e-05/1.107, allocations: 20.77 kB / 1.015 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/1.107, allocations: 0 / 1.015 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001772/1.107, allocations: 70.83 kB / 1.016 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 2.004e-06/1.107, allocations: 0 / 1.016 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0002541/1.107, allocations: 80.64 kB / 1.016 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/1.107, allocations: 59.39 kB / 1.016 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/1.107, allocations: 96.41 kB / 1.016 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/1.107, allocations: 25.7 kB / 1.016 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.662e-05/1.107, allocations: 88.02 kB / 1.016 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.634e-05/1.107, allocations: 23.64 kB / 1.016 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.383e-06/1.107, allocations: 0 / 1.016 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000125/1.107, allocations: 314.9 kB / 1.016 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.796e-05/1.108, allocations: 23.38 kB / 1.016 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.276e-05/1.108, allocations: 39.36 kB / 1.016 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.962e-05/1.108, allocations: 26.02 kB / 1.016 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.676e-06/1.108, allocations: 4 kB / 1.016 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000188/1.108, allocations: 81.5 kB / 1.016 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/1.108, allocations: 8 kB / 1.016 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/1.108, allocations: 0 / 1.016 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/1.108, allocations: 4 kB / 1.016 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/1.108, allocations: 11.98 kB / 1.016 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/1.108, allocations: 3.938 kB / 1.016 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/1.108, allocations: 15.86 kB / 1.016 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/1.108, allocations: 7.562 kB / 1.016 GB, free: 3.336 MB / 0.6355 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 () * 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.0001005/1.108, allocations: 110 kB / 1.017 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000161/1.109, allocations: 81.12 kB / 1.017 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.498e-05/1.109, allocations: 7.906 kB / 1.017 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.089e-05/1.109, allocations: 8.281 kB / 1.017 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/1.109, allocations: 7.953 kB / 1.017 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/1.109, allocations: 0 / 1.017 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/1.109, allocations: 0 / 1.017 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005266/1.109, allocations: 326.1 kB / 1.017 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/1.109, allocations: 0 / 1.017 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-05/1.109, allocations: 7.5 kB / 1.017 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/1.109, allocations: 0 / 1.017 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/1.109, allocations: 3.953 kB / 1.017 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/1.109, allocations: 0 / 1.017 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/1.109, allocations: 3.984 kB / 1.017 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/1.11, allocations: 179 kB / 1.017 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.777e-05/1.11, allocations: 77.11 kB / 1.017 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/1.11, allocations: 7.984 kB / 1.017 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/1.11, allocations: 11.95 kB / 1.017 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.564e-05/1.11, allocations: 7.984 kB / 1.017 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.956e-06/1.11, allocations: 0 / 1.017 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.366e-05/1.11, allocations: 87.16 kB / 1.017 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.61e-07/1.11, allocations: 0 / 1.017 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003487/1.11, allocations: 12 kB / 1.017 GB, free: 2.367 MB / 0.6355 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 () * 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.0005266/1.111, allocations: 0.7059 MB / 1.018 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001664/1.111, allocations: 51.67 kB / 1.018 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/1.111, allocations: 0 / 1.018 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.257e-05/1.111, allocations: 23.75 kB / 1.018 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/1.111, allocations: 11.83 kB / 1.018 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006333/1.112, allocations: 149.2 kB / 1.018 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/1.112, allocations: 0.6885 MB / 1.019 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.552e-05/1.112, allocations: 7.953 kB / 1.019 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.285e-05/1.113, allocations: 15.38 kB / 1.019 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of SimCode: time 6.41e-07/1.113, allocations: 0 / 1.019 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02901/1.142, allocations: 1.177 MB / 1.02 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002081/1.142, allocations: 137.4 kB / 1.02 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.341/3.482, allocations: 0 / 1.02 GB, free: 15.33 MB / 0.6511 GB