Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.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.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_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.189/2.189, allocations: 248.5 MB / 261.1 MB, free: 5.988 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.001487/0.001487, allocations: 174.5 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.23/2.23, allocations: 205.2 MB / 0.571 GB, free: 11.82 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.00109/0.00109, allocations: 99.95 kB / 0.6754 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.922e-05/4.925e-05, allocations: 8 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2439, allocations: 106.3 MB / 0.8907 GB, free: 7.441 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9537/1.198, allocations: 132.1 MB / 1.02 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004005/1.198, allocations: 72.7 kB / 1.02 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01802/1.216, allocations: 2.741 MB / 1.022 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.126e-06/1.216, allocations: 0 / 1.022 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.567e-05/1.216, allocations: 8 kB / 1.022 GB, free: 0.7031 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.001117/1.218, allocations: 429.5 kB / 1.023 GB, free: 248 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.383e-05/1.218, allocations: 12.03 kB / 1.023 GB, free: 236 kB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.321e-05/1.218, allocations: 41.56 kB / 1.023 GB, free: 192 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.339e-05/1.218, allocations: 15.81 kB / 1.023 GB, free: 176 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004484/1.218, allocations: 211.2 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.906e-05/1.218, allocations: 7.812 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.388e-05/1.218, allocations: 11.12 kB / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004583/1.219, allocations: 138.1 kB / 1.023 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/1.219, allocations: 0 / 1.023 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.373e-05/1.219, allocations: 7.125 kB / 1.023 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/1.219, allocations: 0 / 1.023 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002485/1.219, allocations: 46.39 kB / 1.023 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002047/1.221, allocations: 0.7655 MB / 1.024 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/1.222, allocations: 36.27 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/1.222, allocations: 20.67 kB / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.564e-05/1.222, allocations: 3.875 kB / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003318/1.222, allocations: 109.4 kB / 1.024 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=11): time 3.617e-06/1.222, allocations: 4 kB / 1.024 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.000462/1.223, allocations: 107.6 kB / 1.024 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/1.223, allocations: 136.3 kB / 1.025 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003446/1.223, allocations: 172.4 kB / 1.025 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.262e-05/1.223, allocations: 28.45 kB / 1.025 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/1.223, allocations: 120.3 kB / 1.025 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.017e-05/1.223, allocations: 38.2 kB / 1.025 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.457e-05/1.223, allocations: 7.375 kB / 1.025 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001781/1.224, allocations: 325.7 kB / 1.025 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/1.224, allocations: 22.19 kB / 1.025 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002294/1.224, allocations: 114 kB / 1.025 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/1.224, allocations: 35.19 kB / 1.025 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/1.224, allocations: 3.938 kB / 1.025 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006018/1.225, allocations: 161.5 kB / 1.025 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/1.225, allocations: 4 kB / 1.025 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/1.225, allocations: 7.984 kB / 1.025 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.602e-05/1.225, allocations: 4 kB / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003488/1.225, allocations: 35.91 kB / 1.026 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.251e-05/1.225, allocations: 11.89 kB / 1.026 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003598/1.226, allocations: 27.27 kB / 1.026 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.892e-05/1.226, allocations: 12.03 kB / 1.026 GB, free: 13.46 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (18): * Single equations (assignments): 18 * 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.0001609/1.226, allocations: 119.7 kB / 1.026 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.714e-05/1.226, allocations: 15.81 kB / 1.026 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.19e-05/1.226, allocations: 20.27 kB / 1.026 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/1.226, allocations: 4 kB / 1.026 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.587e-06/1.226, allocations: 0 / 1.026 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/1.226, allocations: 3.953 kB / 1.026 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/1.228, allocations: 0.4909 MB / 1.026 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/1.228, allocations: 0 / 1.026 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003255/1.228, allocations: 24.11 kB / 1.026 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.228e-06/1.228, allocations: 0 / 1.026 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.279e-05/1.228, allocations: 7.875 kB / 1.026 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.536e-06/1.228, allocations: 3.953 kB / 1.026 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/1.228, allocations: 4 kB / 1.026 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007147/1.229, allocations: 358.4 kB / 1.027 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/1.229, allocations: 96.95 kB / 1.027 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.176e-05/1.229, allocations: 7.438 kB / 1.027 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004313/1.23, allocations: 15.98 kB / 1.027 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.234e-05/1.23, allocations: 15.48 kB / 1.027 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-05/1.23, allocations: 4 kB / 1.027 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002421/1.23, allocations: 139.8 kB / 1.027 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.31e-07/1.23, allocations: 0 / 1.027 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007916/1.231, allocations: 31.06 kB / 1.027 GB, free: 12.11 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.001353/1.232, allocations: 1.106 MB / 1.028 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004583/1.233, allocations: 73.89 kB / 1.028 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.485e-06/1.233, allocations: 3 kB / 1.028 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001931/1.233, allocations: 35.5 kB / 1.028 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000806/1.234, allocations: 57.16 kB / 1.028 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/1.236, allocations: 304.3 kB / 1.028 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005189/1.236, allocations: 0.7283 MB / 1.029 GB, free: 9.781 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001674/1.236, allocations: 13.33 kB / 1.029 GB, free: 9.77 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/1.237, allocations: 43.11 kB / 1.029 GB, free: 9.75 MB / 0.6511 GB Notification: Performance of SimCode: time 1.453e-06/1.237, allocations: 0 / 1.029 GB, free: 9.75 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02815/1.265, allocations: 3.099 MB / 1.032 GB, free: 6.816 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002599/1.265, allocations: 172.5 kB / 1.032 GB, free: 6.594 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.445/3.71, allocations: 5.375 kB / 1.032 GB, free: 6.59 MB / 0.6511 GB