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.357/2.357, allocations: 248.5 MB / 261.1 MB, free: 5.965 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.00142/0.00142, allocations: 172.9 kB / 320.4 MB, free: 15.35 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.018/2.018, allocations: 205.2 MB / 0.571 GB, free: 11.8 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.001821/0.001821, allocations: 93.36 kB / 0.6754 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.08e-05/4.107e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2489, allocations: 106.2 MB / 0.8907 GB, free: 7.453 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8761/1.125, allocations: 133.5 MB / 1.021 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004027/1.125, allocations: 77.08 kB / 1.021 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02474/1.15, allocations: 3.489 MB / 1.025 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.026e-06/1.15, allocations: 0 / 1.025 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.255e-05/1.15, allocations: 4 kB / 1.025 GB, free: 14.41 MB / 0.6511 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.001248/1.152, allocations: 440.1 kB / 1.025 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 7.214e-05/1.152, allocations: 12.03 kB / 1.025 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.252e-05/1.152, allocations: 44.48 kB / 1.025 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.86e-05/1.152, allocations: 19.81 kB / 1.025 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000564/1.153, allocations: 229.8 kB / 1.025 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/1.153, allocations: 11.38 kB / 1.025 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.393e-05/1.153, allocations: 14.94 kB / 1.025 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004598/1.153, allocations: 132.1 kB / 1.025 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/1.153, allocations: 0 / 1.025 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.839e-05/1.153, allocations: 7.016 kB / 1.025 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/1.153, allocations: 4 kB / 1.025 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002694/1.154, allocations: 57.77 kB / 1.025 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002286/1.156, allocations: 0.7571 MB / 1.026 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/1.156, allocations: 38.39 kB / 1.026 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/1.156, allocations: 16.61 kB / 1.026 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.02e-05/1.156, allocations: 4 kB / 1.026 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003663/1.157, allocations: 112.4 kB / 1.026 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=11): time 5.079e-06/1.157, allocations: 0 / 1.026 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.0005268/1.157, allocations: 112.2 kB / 1.026 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/1.157, allocations: 132.5 kB / 1.027 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003792/1.158, allocations: 179.3 kB / 1.027 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.094e-05/1.158, allocations: 29.77 kB / 1.027 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/1.158, allocations: 134.7 kB / 1.027 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.257e-05/1.158, allocations: 31.44 kB / 1.027 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.684e-05/1.158, allocations: 3.312 kB / 1.027 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002075/1.158, allocations: 327 kB / 1.027 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/1.159, allocations: 24.25 kB / 1.027 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003104/1.159, allocations: 129.8 kB / 1.027 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/1.159, allocations: 52.48 kB / 1.027 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/1.159, allocations: 0 / 1.027 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007393/1.16, allocations: 185.4 kB / 1.028 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.274e-05/1.16, allocations: 7.156 kB / 1.028 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/1.16, allocations: 8 kB / 1.028 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.847e-05/1.16, allocations: 8 kB / 1.028 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004162/1.161, allocations: 31.92 kB / 1.028 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.604e-05/1.161, allocations: 12.83 kB / 1.028 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004231/1.161, allocations: 30.89 kB / 1.028 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.385e-05/1.161, allocations: 8 kB / 1.028 GB, free: 11.07 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.0002032/1.161, allocations: 132.2 kB / 1.028 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.367e-05/1.161, allocations: 19.75 kB / 1.028 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000112/1.162, allocations: 26.89 kB / 1.028 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/1.162, allocations: 0 / 1.028 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.549e-05/1.162, allocations: 4 kB / 1.028 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/1.162, allocations: 7.891 kB / 1.028 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001614/1.163, allocations: 0.4884 MB / 1.028 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/1.163, allocations: 0 / 1.028 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003647/1.164, allocations: 19.98 kB / 1.028 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.538e-06/1.164, allocations: 0 / 1.028 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.586e-05/1.164, allocations: 7.984 kB / 1.028 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.997e-06/1.164, allocations: 3.953 kB / 1.028 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/1.164, allocations: 4 kB / 1.028 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007557/1.165, allocations: 361.6 kB / 1.029 GB, free: 9.996 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/1.165, allocations: 92.36 kB / 1.029 GB, free: 9.891 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.782e-05/1.165, allocations: 0 / 1.029 GB, free: 9.891 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004947/1.165, allocations: 27.77 kB / 1.029 GB, free: 9.867 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.531e-05/1.165, allocations: 11.98 kB / 1.029 GB, free: 9.855 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-05/1.166, allocations: 4 kB / 1.029 GB, free: 9.852 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002715/1.166, allocations: 142.3 kB / 1.029 GB, free: 9.73 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.132e-06/1.166, allocations: 3.938 kB / 1.029 GB, free: 9.727 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008403/1.167, allocations: 39.39 kB / 1.029 GB, free: 9.691 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.00144/1.168, allocations: 1.094 MB / 1.03 GB, free: 8.59 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004678/1.169, allocations: 89.09 kB / 1.03 GB, free: 8.52 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/1.169, allocations: 0 / 1.03 GB, free: 8.52 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002141/1.169, allocations: 38 kB / 1.03 GB, free: 8.492 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/1.17, allocations: 63.69 kB / 1.03 GB, free: 8.441 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001626/1.172, allocations: 315.4 kB / 1.031 GB, free: 8.109 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005262/1.172, allocations: 0.7285 MB / 1.031 GB, free: 7.355 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002138/1.173, allocations: 17.55 kB / 1.031 GB, free: 7.336 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/1.173, allocations: 46.8 kB / 1.031 GB, free: 7.316 MB / 0.6511 GB Notification: Performance of SimCode: time 1.382e-06/1.173, allocations: 0 / 1.031 GB, free: 7.316 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03302/1.206, allocations: 3.536 MB / 1.035 GB, free: 3.906 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003746/1.206, allocations: 152.3 kB / 1.035 GB, free: 3.688 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.43/3.636, allocations: 0 / 1.035 GB, free: 3.688 MB / 0.6511 GB