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.316/2.316, allocations: 251 MB / 265.9 MB, free: 11.69 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001524/0.001524, allocations: 178.5 kB / 325.5 MB, free: 2.887 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.381/2.381, allocations: 205.4 MB / 0.5764 GB, free: 20.83 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.001121/0.001121, allocations: 100 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004785/0.0004785, allocations: 10.47 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2124, allocations: 106.3 MB / 0.8988 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2311/0.4436, allocations: 132.2 MB / 1.028 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003863/0.4441, allocations: 75.95 kB / 1.028 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00633/0.4504, allocations: 1.114 MB / 1.029 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.545e-06/0.4505, allocations: 0 / 1.029 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.717e-06/0.4505, allocations: 0 / 1.029 GB, free: 11.9 MB / 0.6823 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.0006955/0.4512, allocations: 355.3 kB / 1.029 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.288e-05/0.4513, allocations: 12.03 kB / 1.029 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.994e-05/0.4514, allocations: 42.5 kB / 1.029 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.122e-05/0.4514, allocations: 11.86 kB / 1.029 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.4517, allocations: 167 kB / 1.03 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.4517, allocations: 8 kB / 1.03 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.933e-05/0.4518, allocations: 4 kB / 1.03 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.452, allocations: 49.69 kB / 1.03 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.452, allocations: 0 / 1.03 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/0.452, allocations: 3.984 kB / 1.03 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.4521, allocations: 7.938 kB / 1.03 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001321/0.4522, allocations: 23.98 kB / 1.03 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008512/0.4531, allocations: 304.7 kB / 1.03 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.4533, allocations: 54.59 kB / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.033e-05/0.4534, allocations: 4 kB / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002393/0.4536, allocations: 75.53 kB / 1.03 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=9): time 3.337e-06/0.4537, allocations: 4 kB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9): time 0.000387/0.4541, allocations: 93.58 kB / 1.03 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.262e-05/0.4542, allocations: 67.38 kB / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.4543, allocations: 100.8 kB / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.385e-05/0.4544, allocations: 29.7 kB / 1.03 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.818e-05/0.4545, allocations: 92.12 kB / 1.031 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.86e-05/0.4545, allocations: 19.72 kB / 1.031 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.061e-05/0.4546, allocations: 0 / 1.031 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001967/0.4548, allocations: 323.7 kB / 1.031 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.176e-05/0.4549, allocations: 12 kB / 1.031 GB, free: 9.859 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.455, allocations: 47.36 kB / 1.031 GB, free: 9.801 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.4552, allocations: 28.17 kB / 1.031 GB, free: 9.773 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.4552, allocations: 0 / 1.031 GB, free: 9.773 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003404/0.4555, allocations: 97.55 kB / 1.031 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.4556, allocations: 5.562 kB / 1.031 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.4556, allocations: 4 kB / 1.031 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.4556, allocations: 0 / 1.031 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.4558, allocations: 15.94 kB / 1.031 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.4558, allocations: 0 / 1.031 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.456, allocations: 19.84 kB / 1.031 GB, free: 9.629 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.456, allocations: 4.031 kB / 1.031 GB, free: 9.625 MB / 0.6823 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.0001535/0.4562, allocations: 124.6 kB / 1.031 GB, free: 9.496 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.513e-05/0.4563, allocations: 7.984 kB / 1.031 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.681e-05/0.4563, allocations: 7.969 kB / 1.031 GB, free: 9.48 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.4563, allocations: 0 / 1.031 GB, free: 9.48 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/0.4564, allocations: 3.953 kB / 1.031 GB, free: 9.477 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.4564, allocations: 0 / 1.031 GB, free: 9.477 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008257/0.4572, allocations: 366.8 kB / 1.032 GB, free: 9.062 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.4572, allocations: 0 / 1.032 GB, free: 9.062 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.142e-05/0.4573, allocations: 0 / 1.032 GB, free: 9.062 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.4573, allocations: 4.094 kB / 1.032 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.424e-05/0.4574, allocations: 15.88 kB / 1.032 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.4574, allocations: 0 / 1.032 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.4574, allocations: 0 / 1.032 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003347/0.4578, allocations: 175.5 kB / 1.032 GB, free: 8.855 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.542e-05/0.4579, allocations: 93 kB / 1.032 GB, free: 8.746 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.4579, allocations: 0 / 1.032 GB, free: 8.746 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.4581, allocations: 7.953 kB / 1.032 GB, free: 8.738 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.019e-05/0.4582, allocations: 7.984 kB / 1.032 GB, free: 8.73 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.4583, allocations: 4 kB / 1.032 GB, free: 8.727 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.856e-05/0.4584, allocations: 87.27 kB / 1.032 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.71e-07/0.4584, allocations: 0 / 1.032 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005568/0.4589, allocations: 16 kB / 1.032 GB, free: 8.625 MB / 0.6823 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.000772/0.4597, allocations: 0.7123 MB / 1.033 GB, free: 7.887 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002661/0.46, allocations: 51.92 kB / 1.033 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.4601, allocations: 0 / 1.033 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.4602, allocations: 27.98 kB / 1.033 GB, free: 7.809 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.4606, allocations: 17.8 kB / 1.033 GB, free: 7.793 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/0.4625, allocations: 0.9463 MB / 1.034 GB, free: 6.777 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000424/0.463, allocations: 0.6853 MB / 1.034 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.493e-05/0.4631, allocations: 11.98 kB / 1.034 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.778e-05/0.4632, allocations: 15.44 kB / 1.034 GB, free: 6.039 MB / 0.6823 GB Notification: Performance of SimCode: time 1.763e-06/0.4632, allocations: 4 kB / 1.034 GB, free: 6.035 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0234/0.4866, allocations: 1.456 MB / 1.036 GB, free: 4.699 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002992/0.487, allocations: 173.7 kB / 1.036 GB, free: 4.461 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.218/3.705, allocations: 2.109 kB / 1.036 GB, free: 4.461 MB / 0.6823 GB