Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.408/1.408, allocations: 249.5 MB / 257 MB, free: 6.98 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.0009971/0.000997, allocations: 176.9 kB / 316.3 MB, free: 3.312 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.369/1.369, allocations: 205.3 MB / 0.5671 GB, free: 15.93 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.0008952/0.0008951, allocations: 98.61 kB / 0.6714 GB, free: 5.043 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.418e-05/2.423e-05, allocations: 12 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1763, allocations: 106.3 MB / 0.8854 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6467/0.823, allocations: 132.6 MB / 1.015 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001992/0.8233, allocations: 72.05 kB / 1.015 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006403/0.8297, allocations: 2.724 MB / 1.018 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8297, allocations: 4 kB / 1.018 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.478e-05/0.8298, allocations: 4 kB / 1.018 GB, free: 2.484 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.0005685/0.8303, allocations: 426.5 kB / 1.018 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.8304, allocations: 12.03 kB / 1.018 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.92e-05/0.8304, allocations: 15.81 kB / 1.018 GB, free: 2 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.8307, allocations: 212.9 kB / 1.018 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.8307, allocations: 8 kB / 1.018 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.057e-05/0.8307, allocations: 8 kB / 1.018 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000109/0.8309, allocations: 31.38 kB / 1.018 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.8311, allocations: 124.6 kB / 1.018 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.8311, allocations: 0 / 1.018 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.8311, allocations: 0 / 1.018 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.8311, allocations: 4 kB / 1.018 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009121/0.832, allocations: 0.73 MB / 1.019 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.211e-05/0.8321, allocations: 33.39 kB / 1.019 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.453e-05/0.8321, allocations: 16.73 kB / 1.019 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.8322, allocations: 4 kB / 1.019 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001489/0.8323, allocations: 104.7 kB / 1.019 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 2.805e-06/0.8323, allocations: 4 kB / 1.019 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0002059/0.8325, allocations: 100.5 kB / 1.019 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.996e-05/0.8326, allocations: 132.5 kB / 1.019 GB, free: 440 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.8327, allocations: 138.5 kB / 1.02 GB, free: 312 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.8328, allocations: 29.64 kB / 1.02 GB, free: 280 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.715e-05/0.8329, allocations: 123 kB / 1.02 GB, free: 168 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.16e-05/0.8329, allocations: 31.3 kB / 1.02 GB, free: 140 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-06/0.8329, allocations: 4.062 kB / 1.02 GB, free: 136 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.8331, allocations: 326.4 kB / 1.02 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.157e-05/0.8331, allocations: 19.75 kB / 1.02 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.016e-05/0.8332, allocations: 108.9 kB / 1.02 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.84e-05/0.8333, allocations: 31.5 kB / 1.02 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.8333, allocations: 3.953 kB / 1.02 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002061/0.8335, allocations: 136.5 kB / 1.02 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.8335, allocations: 8 kB / 1.02 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.8335, allocations: 4.406 kB / 1.02 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.8335, allocations: 8 kB / 1.02 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.8337, allocations: 39.8 kB / 1.02 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.8337, allocations: 7.984 kB / 1.02 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.8338, allocations: 15.98 kB / 1.02 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.8338, allocations: 8 kB / 1.02 GB, free: 15.43 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 9.302e-05/0.8339, allocations: 126 kB / 1.021 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001352/0.8341, allocations: 101 kB / 1.021 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.056e-05/0.8341, allocations: 11.91 kB / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.477e-05/0.8342, allocations: 17.52 kB / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.8342, allocations: 0 / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.8342, allocations: 0 / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.8342, allocations: 4 kB / 1.021 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005171/0.8347, allocations: 468.5 kB / 1.021 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.8347, allocations: 192 / 1.021 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.8349, allocations: 27.8 kB / 1.021 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.8349, allocations: 0 / 1.021 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/0.8349, allocations: 7.984 kB / 1.021 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.8349, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.8349, allocations: 4.188 kB / 1.021 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.8352, allocations: 352.1 kB / 1.022 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.798e-05/0.8352, allocations: 88.92 kB / 1.022 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.618e-05/0.8353, allocations: 7.953 kB / 1.022 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.8354, allocations: 16.03 kB / 1.022 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.824e-05/0.8355, allocations: 15.78 kB / 1.022 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.8355, allocations: 4 kB / 1.022 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.743e-05/0.8356, allocations: 123.7 kB / 1.022 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8356, allocations: 0 / 1.022 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003156/0.8359, allocations: 27.94 kB / 1.022 GB, free: 14.03 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.0006529/0.8366, allocations: 1.091 MB / 1.023 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001517/0.8367, allocations: 66.94 kB / 1.023 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.8367, allocations: 4 kB / 1.023 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.722e-05/0.8368, allocations: 31.75 kB / 1.023 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003644/0.8372, allocations: 39.59 kB / 1.023 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006959/0.8379, allocations: 293 kB / 1.023 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.8382, allocations: 0.724 MB / 1.024 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.35e-05/0.8383, allocations: 16.77 kB / 1.024 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.419e-05/0.8383, allocations: 45.86 kB / 1.024 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of SimCode: time 2.41e-07/0.8383, allocations: 0 / 1.024 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02004/0.8584, allocations: 2.529 MB / 1.026 GB, free: 9.223 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002137/0.8586, allocations: 174 kB / 1.027 GB, free: 9.031 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.59/2.449, allocations: 0 / 1.027 GB, free: 9.031 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe 2>&1)