Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.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.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Examples_IntegratorWithReset",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.178/2.178, allocations: 248.7 MB / 256.2 MB, free: 7.07 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.001558/0.001557, allocations: 186.7 kB / 315.4 MB, free: 4.004 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.22/2.22, allocations: 205.3 MB / 0.5662 GB, free: 0.5977 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.001097/0.001096, allocations: 97.77 kB / 0.6704 GB, free: 5.805 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.911e-05/2.909e-05, allocations: 8 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2115, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9035/1.115, allocations: 133.7 MB / 1.015 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/1.115, allocations: 77.11 kB / 1.015 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01523/1.131, allocations: 3.466 MB / 1.018 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.663e-06/1.131, allocations: 0 / 1.018 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.314e-05/1.131, allocations: 7.938 kB / 1.018 GB, free: 2.156 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008571/1.132, allocations: 441.9 kB / 1.019 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/1.132, allocations: 8.031 kB / 1.019 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.668e-05/1.132, allocations: 19.81 kB / 1.019 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003872/1.132, allocations: 230.9 kB / 1.019 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/1.132, allocations: 8 kB / 1.019 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.234e-05/1.132, allocations: 12 kB / 1.019 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001578/1.132, allocations: 35.31 kB / 1.019 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002657/1.133, allocations: 114.3 kB / 1.019 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/1.133, allocations: 0 / 1.019 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/1.133, allocations: 0 / 1.019 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/1.133, allocations: 4 kB / 1.019 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001485/1.134, allocations: 0.7298 MB / 1.02 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/1.134, allocations: 38.25 kB / 1.02 GB, free: 476 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.356e-05/1.135, allocations: 16.8 kB / 1.02 GB, free: 460 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/1.135, allocations: 3.938 kB / 1.02 GB, free: 456 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002341/1.135, allocations: 110.2 kB / 1.02 GB, free: 332 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 2.905e-06/1.135, allocations: 0 / 1.02 GB, free: 332 kB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0003415/1.135, allocations: 101.1 kB / 1.02 GB, free: 236 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.043e-05/1.135, allocations: 128.5 kB / 1.02 GB, free: 76 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/1.136, allocations: 168.8 kB / 1.02 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/1.136, allocations: 26.45 kB / 1.02 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/1.136, allocations: 134.7 kB / 1.02 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.622e-05/1.136, allocations: 31.3 kB / 1.02 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.427e-06/1.136, allocations: 0 / 1.02 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001564/1.136, allocations: 330.5 kB / 1.021 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.428e-05/1.136, allocations: 23.88 kB / 1.021 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001684/1.136, allocations: 128.5 kB / 1.021 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/1.136, allocations: 39.48 kB / 1.021 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/1.136, allocations: 3.938 kB / 1.021 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004158/1.137, allocations: 159.8 kB / 1.021 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/1.137, allocations: 4 kB / 1.021 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/1.137, allocations: 4.5 kB / 1.021 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-05/1.137, allocations: 8 kB / 1.021 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002585/1.137, allocations: 35.92 kB / 1.021 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.52e-05/1.137, allocations: 8 kB / 1.021 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002589/1.137, allocations: 19.89 kB / 1.021 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.59e-05/1.138, allocations: 15.94 kB / 1.021 GB, free: 14.98 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,intWitRes1.trigger,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001327/1.138, allocations: 120.8 kB / 1.021 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002667/1.138, allocations: 105.2 kB / 1.021 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.776e-05/1.138, allocations: 15.81 kB / 1.021 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.063e-05/1.138, allocations: 17.34 kB / 1.021 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/1.138, allocations: 7.984 kB / 1.021 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/1.138, allocations: 0 / 1.021 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/1.138, allocations: 3.938 kB / 1.021 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009859/1.139, allocations: 464.6 kB / 1.022 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/1.139, allocations: 3.984 kB / 1.022 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002227/1.139, allocations: 23.98 kB / 1.022 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.089e-05/1.139, allocations: 4 kB / 1.022 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/1.139, allocations: 4 kB / 1.022 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/1.139, allocations: 0 / 1.022 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/1.139, allocations: 0 / 1.022 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004605/1.14, allocations: 348.3 kB / 1.022 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.31e-05/1.14, allocations: 92.88 kB / 1.022 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.794e-05/1.14, allocations: 4.094 kB / 1.022 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002947/1.14, allocations: 20.02 kB / 1.022 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.985e-05/1.14, allocations: 19.78 kB / 1.022 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/1.14, allocations: 4 kB / 1.022 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.00014/1.141, allocations: 122.5 kB / 1.023 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.475e-06/1.141, allocations: 3.938 kB / 1.023 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004968/1.141, allocations: 35.78 kB / 1.023 GB, free: 13.57 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,intWitRes1.trigger,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000932/1.142, allocations: 1.087 MB / 1.024 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003129/1.142, allocations: 77.66 kB / 1.024 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.142, allocations: 0 / 1.024 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001203/1.143, allocations: 33.94 kB / 1.024 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006437/1.143, allocations: 51.8 kB / 1.024 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009738/1.144, allocations: 308 kB / 1.024 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004095/1.145, allocations: 0.7241 MB / 1.025 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001373/1.145, allocations: 21.33 kB / 1.025 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/1.145, allocations: 47.8 kB / 1.025 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of SimCode: time 3.307e-06/1.145, allocations: 0 / 1.025 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03949/1.184, allocations: 3.031 MB / 1.028 GB, free: 8.23 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003137/1.185, allocations: 142.2 kB / 1.028 GB, free: 8.039 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.274/3.459, allocations: 0 / 1.028 GB, free: 8.039 MB / 0.6511 GB