Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.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.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 2.13/2.13, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.00104/0.00104, allocations: 184.9 kB / 361.4 MB, free: 6.809 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.028/2.028, allocations: 205.2 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000883/0.0008831, allocations: 99.02 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.076e-05/5.109e-05, allocations: 8 kB / 0.8519 GB, free: 2.602 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.019/1.019, allocations: 115.3 MB / 0.9645 GB, free: 78.92 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2185/1.238, allocations: 137.9 MB / 1.099 GB, free: 1.906 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003323/1.238, allocations: 71.95 kB / 1.099 GB, free: 1.836 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01008/1.248, allocations: 3.264 MB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.024e-06/1.248, allocations: 0.875 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.077e-05/1.248, allocations: 4 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000681/1.249, allocations: 427.2 kB / 1.103 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.891e-05/1.249, allocations: 8.031 kB / 1.103 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.998e-05/1.249, allocations: 12.94 kB / 1.103 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/1.249, allocations: 187.5 kB / 1.103 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/1.25, allocations: 0 / 1.103 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.353e-05/1.25, allocations: 14.66 kB / 1.103 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001043/1.25, allocations: 30.25 kB / 1.103 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/1.25, allocations: 73.61 kB / 1.103 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/1.25, allocations: 0 / 1.103 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/1.25, allocations: 0 / 1.103 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/1.25, allocations: 4 kB / 1.103 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009314/1.251, allocations: 397 kB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.209e-05/1.251, allocations: 30.58 kB / 1.104 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.141e-05/1.251, allocations: 16.98 kB / 1.104 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/1.251, allocations: 0 / 1.104 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001785/1.251, allocations: 87.33 kB / 1.104 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.372e-06/1.251, allocations: 0 / 1.104 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0002333/1.251, allocations: 91.12 kB / 1.104 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/1.251, allocations: 59.41 kB / 1.104 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/1.252, allocations: 115.7 kB / 1.104 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.772e-05/1.252, allocations: 37.69 kB / 1.104 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.208e-05/1.252, allocations: 112 kB / 1.104 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/1.252, allocations: 23.62 kB / 1.104 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.657e-05/1.252, allocations: 4 kB / 1.104 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001231/1.252, allocations: 322.8 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.062e-05/1.252, allocations: 39.94 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/1.252, allocations: 116.8 kB / 1.105 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003176/1.253, allocations: 67.94 kB / 1.105 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/1.253, allocations: 0 / 1.105 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004626/1.253, allocations: 197.3 kB / 1.105 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.274e-05/1.253, allocations: 45.64 kB / 1.105 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/1.253, allocations: 4 kB / 1.105 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-05/1.253, allocations: 4 kB / 1.105 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/1.253, allocations: 23.98 kB / 1.105 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/1.253, allocations: 3.938 kB / 1.105 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002431/1.254, allocations: 65.92 kB / 1.105 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.945e-05/1.254, allocations: 12 kB / 1.105 GB, free: 11.82 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition4,$PRE.booleanPulse.y,booleanPulse.y,$whenCondition1,$whenCondition2,$whenCondition3,intDef.trigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 1 * 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.0001162/1.254, allocations: 109 kB / 1.105 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001334/1.254, allocations: 87.64 kB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.541e-05/1.254, allocations: 15.86 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.074e-05/1.254, allocations: 16.61 kB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/1.254, allocations: 1.641 kB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/1.254, allocations: 0 / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/1.254, allocations: 0 / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004289/1.254, allocations: 361.5 kB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/1.254, allocations: 0 / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/1.255, allocations: 23.92 kB / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/1.255, allocations: 0 / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/1.255, allocations: 8 kB / 1.106 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/1.255, allocations: 0 / 1.106 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.255, allocations: 0 / 1.106 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002685/1.255, allocations: 211.4 kB / 1.106 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.436e-05/1.255, allocations: 92.91 kB / 1.106 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/1.255, allocations: 4.031 kB / 1.106 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/1.255, allocations: 11.94 kB / 1.106 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.67e-05/1.255, allocations: 7.984 kB / 1.106 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/1.255, allocations: 8 kB / 1.106 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.422e-05/1.255, allocations: 100.8 kB / 1.106 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/1.255, allocations: 0 / 1.106 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000306/1.256, allocations: 35.98 kB / 1.106 GB, free: 10.67 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intDef.y,intWitRes1.y,intWitRes2.y) * Number of discrete variables: 6 (intDef.trigger,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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.000647/1.256, allocations: 0.7724 MB / 1.107 GB, free: 9.867 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002625/1.256, allocations: 155.3 kB / 1.107 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/1.256, allocations: 0 / 1.107 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.857e-05/1.257, allocations: 31.59 kB / 1.107 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/1.257, allocations: 16.67 kB / 1.107 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000653/1.257, allocations: 226.9 kB / 1.107 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/1.258, allocations: 0.709 MB / 1.108 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.466e-05/1.258, allocations: 12.42 kB / 1.108 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.051e-05/1.258, allocations: 31.42 kB / 1.108 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/1.258, allocations: 3.938 kB / 1.108 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02182/1.28, allocations: 2.423 MB / 1.11 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002838/1.28, allocations: 166.3 kB / 1.11 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.791/3.071, allocations: 0 / 1.11 GB, free: 6.09 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe 2>&1)