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.22/2.22, allocations: 248.5 MB / 261.1 MB, free: 5.945 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.002127/0.002128, allocations: 190.7 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.006/2.006, allocations: 205.2 MB / 0.571 GB, free: 11.74 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001071/0.001071, allocations: 106.4 kB / 0.6754 GB, free: 0.8242 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.903e-05/3.917e-05, allocations: 11.98 kB / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2016, allocations: 106.3 MB / 0.8907 GB, free: 7.473 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8968/1.099, allocations: 132.1 MB / 1.02 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/1.099, allocations: 74.23 kB / 1.02 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004529/1.103, allocations: 1.1 MB / 1.021 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.074e-06/1.103, allocations: 0 / 1.021 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.845e-06/1.103, allocations: 4 kB / 1.021 GB, free: 1.75 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.0005275/1.104, allocations: 342.3 kB / 1.021 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/1.104, allocations: 8.031 kB / 1.021 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.544e-05/1.104, allocations: 38.98 kB / 1.021 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.798e-05/1.104, allocations: 11.86 kB / 1.021 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/1.104, allocations: 171 kB / 1.021 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/1.104, allocations: 3.875 kB / 1.021 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/1.105, allocations: 8 kB / 1.021 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/1.105, allocations: 54.25 kB / 1.021 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/1.105, allocations: 6.562 kB / 1.021 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/1.105, allocations: 0 / 1.021 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/1.105, allocations: 7.984 kB / 1.021 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.551e-05/1.105, allocations: 24.69 kB / 1.022 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006691/1.106, allocations: 315.8 kB / 1.022 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/1.106, allocations: 49.08 kB / 1.022 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.74e-05/1.106, allocations: 24.8 kB / 1.022 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/1.106, allocations: 0 / 1.022 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001835/1.106, allocations: 74.14 kB / 1.022 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 3.868e-06/1.106, allocations: 7.984 kB / 1.022 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0002645/1.106, allocations: 83.69 kB / 1.022 GB, free: 460 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.844e-05/1.106, allocations: 55.41 kB / 1.022 GB, free: 392 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.456e-05/1.106, allocations: 96.59 kB / 1.022 GB, free: 292 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/1.107, allocations: 33.33 kB / 1.022 GB, free: 256 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.691e-05/1.107, allocations: 84.12 kB / 1.022 GB, free: 168 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.035e-05/1.107, allocations: 19.41 kB / 1.022 GB, free: 152 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.223e-06/1.107, allocations: 3.438 kB / 1.022 GB, free: 152 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001705/1.107, allocations: 322.8 kB / 1.023 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.146e-05/1.107, allocations: 15.75 kB / 1.023 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.351e-05/1.107, allocations: 46.06 kB / 1.023 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.58e-05/1.107, allocations: 19.86 kB / 1.023 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/1.107, allocations: 4 kB / 1.023 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002189/1.107, allocations: 92.05 kB / 1.023 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/1.107, allocations: 4 kB / 1.023 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/1.107, allocations: 4 kB / 1.023 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/1.107, allocations: 3.953 kB / 1.023 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/1.108, allocations: 15.69 kB / 1.023 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.557e-06/1.108, allocations: 0 / 1.023 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/1.108, allocations: 15.89 kB / 1.023 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/1.108, allocations: 4 kB / 1.023 GB, free: 15.62 MB / 0.6511 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.0001113/1.108, allocations: 116.7 kB / 1.023 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.612e-05/1.108, allocations: 3.938 kB / 1.023 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.735e-05/1.108, allocations: 11.91 kB / 1.023 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/1.108, allocations: 64 / 1.023 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/1.108, allocations: 7.953 kB / 1.023 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/1.108, allocations: 0 / 1.023 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006456/1.109, allocations: 366.8 kB / 1.023 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/1.109, allocations: 4 kB / 1.023 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.272e-05/1.109, allocations: 3.938 kB / 1.023 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/1.109, allocations: 4 kB / 1.023 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/1.109, allocations: 3.953 kB / 1.023 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/1.109, allocations: 0 / 1.023 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.109, allocations: 0 / 1.023 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002369/1.109, allocations: 177.1 kB / 1.024 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.11e-05/1.109, allocations: 85.3 kB / 1.024 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/1.109, allocations: 4 kB / 1.024 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/1.109, allocations: 15.62 kB / 1.024 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.792e-05/1.109, allocations: 11.97 kB / 1.024 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/1.109, allocations: 4 kB / 1.024 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.227e-05/1.109, allocations: 82.59 kB / 1.024 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.01e-07/1.109, allocations: 0 / 1.024 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000299/1.11, allocations: 15.62 kB / 1.024 GB, free: 14.68 MB / 0.6511 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.0005785/1.11, allocations: 0.7065 MB / 1.024 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002039/1.111, allocations: 54.47 kB / 1.024 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/1.111, allocations: 3.938 kB / 1.024 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.624e-05/1.111, allocations: 30.17 kB / 1.024 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/1.111, allocations: 8.516 kB / 1.025 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006527/1.112, allocations: 152 kB / 1.025 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/1.112, allocations: 0.6848 MB / 1.025 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.862e-05/1.112, allocations: 15.88 kB / 1.025 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.812e-05/1.112, allocations: 18.38 kB / 1.025 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of SimCode: time 9.22e-07/1.112, allocations: 0 / 1.025 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02188/1.134, allocations: 1.486 MB / 1.027 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003755/1.134, allocations: 153.9 kB / 1.027 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.352/3.486, allocations: 0 / 1.027 GB, free: 11.37 MB / 0.6511 GB