Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.795/1.795, allocations: 288.2 MB / 303.2 MB, free: 8.168 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001394/0.001394, allocations: 186.2 kB / 371.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.948/1.948, allocations: 205.4 MB / 0.6305 GB, free: 9.992 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009718/0.0009718, allocations: 110.2 kB / 0.7439 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004448/0.0004448, allocations: 11.97 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2356, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7691/1.005, allocations: 140 MB / 1.116 GB, free: 16.46 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/1.005, allocations: 76.05 kB / 1.116 GB, free: 16.46 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008677/1.014, allocations: 3.486 MB / 1.12 GB, free: 31.96 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.784e-06/1.014, allocations: 0 / 1.12 GB, free: 31.96 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.457e-05/1.014, allocations: 3.625 kB / 1.12 GB, free: 31.96 MB / 0.698 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.0006233/1.014, allocations: 468.8 kB / 1.12 GB, free: 31.55 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/1.014, allocations: 15.58 kB / 1.12 GB, free: 31.54 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.609e-05/1.014, allocations: 44.05 kB / 1.12 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.607e-05/1.015, allocations: 15.5 kB / 1.12 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/1.015, allocations: 226.2 kB / 1.12 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/1.015, allocations: 11.28 kB / 1.12 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.885e-05/1.015, allocations: 15.25 kB / 1.12 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/1.015, allocations: 144.7 kB / 1.121 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/1.015, allocations: 6.078 kB / 1.121 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/1.015, allocations: 13.56 kB / 1.121 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/1.015, allocations: 7.859 kB / 1.121 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002063/1.015, allocations: 77.38 kB / 1.121 GB, free: 31.19 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009498/1.016, allocations: 0.7592 MB / 1.121 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/1.016, allocations: 49.08 kB / 1.122 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/1.017, allocations: 3.812 kB / 1.122 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002376/1.017, allocations: 128 kB / 1.122 GB, free: 30.46 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.243e-06/1.017, allocations: 0 / 1.122 GB, free: 30.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0004381/1.017, allocations: 179.5 kB / 1.122 GB, free: 30.41 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.63e-05/1.017, allocations: 133.3 kB / 1.122 GB, free: 30.25 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/1.017, allocations: 193.7 kB / 1.122 GB, free: 30.15 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/1.017, allocations: 25.7 kB / 1.122 GB, free: 30.12 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.186e-05/1.018, allocations: 136.6 kB / 1.122 GB, free: 30.02 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/1.018, allocations: 27.25 kB / 1.122 GB, free: 30 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-06/1.018, allocations: 3.312 kB / 1.122 GB, free: 30 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001216/1.018, allocations: 333.1 kB / 1.123 GB, free: 29.69 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/1.018, allocations: 42.09 kB / 1.123 GB, free: 29.68 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/1.018, allocations: 160.5 kB / 1.123 GB, free: 29.54 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/1.018, allocations: 56.48 kB / 1.123 GB, free: 29.53 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/1.018, allocations: 3.875 kB / 1.123 GB, free: 29.53 MB / 0.698 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003518/1.018, allocations: 214.1 kB / 1.123 GB, free: 29.46 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/1.018, allocations: 10.06 kB / 1.123 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/1.018, allocations: 11.81 kB / 1.123 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/1.019, allocations: 7.812 kB / 1.123 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/1.019, allocations: 37.42 kB / 1.123 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/1.019, allocations: 7.844 kB / 1.123 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/1.019, allocations: 33.94 kB / 1.123 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/1.019, allocations: 11.56 kB / 1.123 GB, free: 29.44 MB / 0.698 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 () * Number of clocked 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.0001184/1.019, allocations: 141.2 kB / 1.123 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/1.019, allocations: 19.34 kB / 1.123 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.796e-05/1.019, allocations: 20.09 kB / 1.123 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/1.019, allocations: 3.875 kB / 1.123 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/1.019, allocations: 0 / 1.123 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/1.019, allocations: 0 / 1.123 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006709/1.02, allocations: 0.5307 MB / 1.124 GB, free: 28.92 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/1.02, allocations: 0 / 1.124 GB, free: 28.92 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/1.02, allocations: 21.34 kB / 1.124 GB, free: 28.92 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/1.02, allocations: 4.047 kB / 1.124 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/1.02, allocations: 7.859 kB / 1.124 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/1.02, allocations: 3.938 kB / 1.124 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.02, allocations: 0 / 1.124 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004504/1.02, allocations: 405.8 kB / 1.124 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.484e-05/1.02, allocations: 96.62 kB / 1.124 GB, free: 28.52 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/1.02, allocations: 11.2 kB / 1.124 GB, free: 28.51 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/1.021, allocations: 14.75 kB / 1.124 GB, free: 28.51 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.89e-05/1.021, allocations: 17.05 kB / 1.124 GB, free: 28.51 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/1.021, allocations: 7.594 kB / 1.124 GB, free: 28.51 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.835e-05/1.021, allocations: 134.9 kB / 1.125 GB, free: 28.43 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.021, allocations: 0 / 1.125 GB, free: 28.43 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002998/1.021, allocations: 30.81 kB / 1.125 GB, free: 28.43 MB / 0.698 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 () * Number of clocked 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.0008302/1.022, allocations: 1.161 MB / 1.126 GB, free: 27.41 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002766/1.022, allocations: 123.7 kB / 1.126 GB, free: 27.39 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/1.022, allocations: 0 / 1.126 GB, free: 27.39 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001337/1.022, allocations: 59.34 kB / 1.126 GB, free: 27.39 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/1.023, allocations: 57.55 kB / 1.126 GB, free: 27.38 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/1.025, allocations: 3.501 MB / 1.129 GB, free: 24.32 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/1.025, allocations: 0.7245 MB / 1.13 GB, free: 23.62 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.268e-05/1.025, allocations: 19.84 kB / 1.13 GB, free: 23.62 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.825e-05/1.025, allocations: 48.86 kB / 1.13 GB, free: 23.61 MB / 0.698 GB Notification: Performance of SimCode: time 1.273e-06/1.025, allocations: 7.75 kB / 1.13 GB, free: 23.61 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01297/1.038, allocations: 3.563 MB / 1.134 GB, free: 23.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/1.039, allocations: 189.9 kB / 1.134 GB, free: 23.07 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.709/2.747, allocations: 0 / 1.134 GB, free: 23.07 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_IntegratorWithReset.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)