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.392/1.392, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001142/0.001142, allocations: 197 kB / 326.5 MB, free: 2.227 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.07/2.07, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0009028/0.0009029, allocations: 97.78 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004127/0.0004128, allocations: 15.97 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2548, allocations: 106.3 MB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1804/0.4353, allocations: 132.4 MB / 1.029 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/0.4355, allocations: 75.95 kB / 1.03 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006795/0.4424, allocations: 2.747 MB / 1.032 GB, free: 8.43 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.156e-06/0.4424, allocations: 0 / 1.032 GB, free: 8.43 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.288e-05/0.4424, allocations: 7.938 kB / 1.032 GB, free: 8.422 MB / 0.6823 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.0006365/0.4431, allocations: 455.2 kB / 1.033 GB, free: 7.926 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.4431, allocations: 8.031 kB / 1.033 GB, free: 7.918 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.761e-05/0.4432, allocations: 42.55 kB / 1.033 GB, free: 7.867 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.123e-05/0.4432, allocations: 15.81 kB / 1.033 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.4434, allocations: 215.5 kB / 1.033 GB, free: 7.598 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.4435, allocations: 12 kB / 1.033 GB, free: 7.586 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.987e-05/0.4435, allocations: 12 kB / 1.033 GB, free: 7.574 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002856/0.4438, allocations: 146.9 kB / 1.033 GB, free: 7.41 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.4438, allocations: 0 / 1.033 GB, free: 7.41 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.4438, allocations: 12 kB / 1.033 GB, free: 7.398 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.4439, allocations: 4 kB / 1.033 GB, free: 7.395 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002508/0.4441, allocations: 86.06 kB / 1.033 GB, free: 7.312 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009884/0.4451, allocations: 0.7572 MB / 1.034 GB, free: 6.492 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001457/0.4453, allocations: 54.5 kB / 1.034 GB, free: 6.43 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.4453, allocations: 3.984 kB / 1.034 GB, free: 6.426 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002849/0.4456, allocations: 126.9 kB / 1.034 GB, free: 6.277 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.4456, allocations: 0 / 1.034 GB, free: 6.277 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.0004845/0.4461, allocations: 181.5 kB / 1.034 GB, free: 6.094 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.374e-05/0.4462, allocations: 128.5 kB / 1.034 GB, free: 5.938 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.4464, allocations: 177.7 kB / 1.035 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.4464, allocations: 33.7 kB / 1.035 GB, free: 5.715 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.793e-05/0.4465, allocations: 123.9 kB / 1.035 GB, free: 5.59 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.834e-05/0.4465, allocations: 31.55 kB / 1.035 GB, free: 5.559 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.708e-06/0.4466, allocations: 8 kB / 1.035 GB, free: 5.551 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.4467, allocations: 326.8 kB / 1.035 GB, free: 5.223 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.4468, allocations: 39.97 kB / 1.035 GB, free: 5.184 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.447, allocations: 124 kB / 1.035 GB, free: 5.02 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.4471, allocations: 59.92 kB / 1.035 GB, free: 4.961 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.4471, allocations: 0 / 1.035 GB, free: 4.961 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003821/0.4475, allocations: 197.4 kB / 1.035 GB, free: 4.762 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.4476, allocations: 8 kB / 1.035 GB, free: 4.754 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.4476, allocations: 0 / 1.035 GB, free: 4.754 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.4476, allocations: 8 kB / 1.035 GB, free: 4.746 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.4477, allocations: 23.98 kB / 1.035 GB, free: 4.723 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.4477, allocations: 15.86 kB / 1.035 GB, free: 4.707 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001533/0.4479, allocations: 32.02 kB / 1.036 GB, free: 4.676 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.4479, allocations: 11.95 kB / 1.036 GB, free: 4.664 MB / 0.6823 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 () * Number of clocked 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.0001246/0.4481, allocations: 133.4 kB / 1.036 GB, free: 4.527 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/0.4481, allocations: 15.81 kB / 1.036 GB, free: 4.512 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.889e-05/0.4481, allocations: 25.38 kB / 1.036 GB, free: 4.492 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.4482, allocations: 4 kB / 1.036 GB, free: 4.488 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.4482, allocations: 0 / 1.036 GB, free: 4.488 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.4482, allocations: 4 kB / 1.036 GB, free: 4.484 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008045/0.449, allocations: 0.5252 MB / 1.036 GB, free: 3.902 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.449, allocations: 8.062 kB / 1.036 GB, free: 3.895 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.4491, allocations: 15.98 kB / 1.036 GB, free: 3.879 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.4491, allocations: 4 kB / 1.036 GB, free: 3.875 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.4492, allocations: 4 kB / 1.036 GB, free: 3.871 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.4492, allocations: 7.938 kB / 1.036 GB, free: 3.863 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.4492, allocations: 3.953 kB / 1.036 GB, free: 3.859 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005206/0.4497, allocations: 409.3 kB / 1.037 GB, free: 3.418 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.482e-05/0.4498, allocations: 92.95 kB / 1.037 GB, free: 3.309 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.4498, allocations: 0 / 1.037 GB, free: 3.309 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.45, allocations: 19.98 kB / 1.037 GB, free: 3.289 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.727e-05/0.4501, allocations: 19.92 kB / 1.037 GB, free: 3.27 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.4501, allocations: 4 kB / 1.037 GB, free: 3.266 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001084/0.4502, allocations: 139 kB / 1.037 GB, free: 3.129 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4502, allocations: 0 / 1.037 GB, free: 3.129 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002967/0.4505, allocations: 24 kB / 1.037 GB, free: 3.105 MB / 0.6823 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.0009648/0.4515, allocations: 1.157 MB / 1.038 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003133/0.4518, allocations: 116 kB / 1.038 GB, free: 1.793 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4518, allocations: 0 / 1.038 GB, free: 1.793 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.452, allocations: 55.91 kB / 1.038 GB, free: 1.738 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.4524, allocations: 40.3 kB / 1.038 GB, free: 1.699 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002496/0.4549, allocations: 3.01 MB / 1.041 GB, free: 14.57 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.4552, allocations: 0.7243 MB / 1.042 GB, free: 13.81 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.887e-05/0.4553, allocations: 17.55 kB / 1.042 GB, free: 13.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.273e-05/0.4554, allocations: 47.42 kB / 1.042 GB, free: 13.75 MB / 0.698 GB Notification: Performance of SimCode: time 2.21e-07/0.4554, allocations: 4 kB / 1.042 GB, free: 13.75 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01462/0.47, allocations: 3.114 MB / 1.045 GB, free: 10.82 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002174/0.4703, allocations: 209.4 kB / 1.045 GB, free: 10.59 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.647/2.117, allocations: 4 kB / 1.045 GB, free: 10.58 MB / 0.698 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)