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.Max.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.Max,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",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.164/2.164, allocations: 285.6 MB / 293.1 MB, free: 10.25 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.001452/0.001452, allocations: 184.9 kB / 361.4 MB, free: 6.852 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.118/2.118, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.000898/0.000898, allocations: 100.9 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.937e-05/2.939e-05, allocations: 8 kB / 0.8519 GB, free: 2.621 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7541/0.7542, allocations: 115.3 MB / 0.9645 GB, free: 78.62 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.196/0.9503, allocations: 136.8 MB / 1.098 GB, free: 2.941 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/0.9506, allocations: 72.45 kB / 1.098 GB, free: 2.871 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002299/0.9529, allocations: 0.7966 MB / 1.099 GB, free: 2.094 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.492e-06/0.9529, allocations: 0.5938 kB / 1.099 GB, free: 2.094 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.9529, allocations: 0 / 1.099 GB, free: 2.094 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004555/0.9534, allocations: 363.9 kB / 1.099 GB, free: 1.699 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.9534, allocations: 8.719 kB / 1.099 GB, free: 1.691 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.633e-05/0.9535, allocations: 8.938 kB / 1.099 GB, free: 1.684 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.9536, allocations: 167.8 kB / 1.099 GB, free: 1.48 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.9537, allocations: 4 kB / 1.099 GB, free: 1.477 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.9537, allocations: 0.625 kB / 1.099 GB, free: 1.477 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.3e-05/0.9538, allocations: 18.95 kB / 1.099 GB, free: 1.461 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.062e-05/0.9539, allocations: 49.78 kB / 1.099 GB, free: 1.41 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.9539, allocations: 2.344 kB / 1.099 GB, free: 1.41 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.9539, allocations: 0 / 1.099 GB, free: 1.41 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.9539, allocations: 3.875 kB / 1.1 GB, free: 1.41 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000506/0.9544, allocations: 284.7 kB / 1.1 GB, free: 1.098 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.599e-05/0.9545, allocations: 39.03 kB / 1.1 GB, free: 1.051 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.328e-05/0.9546, allocations: 17.73 kB / 1.1 GB, free: 1.031 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.9546, allocations: 0 / 1.1 GB, free: 1.031 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.9546, allocations: 33.41 kB / 1.1 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.9546, allocations: 0 / 1.1 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001806/0.9548, allocations: 41.8 kB / 1.1 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.9549, allocations: 59.39 kB / 1.1 GB, free: 0.875 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.24e-05/0.955, allocations: 97 kB / 1.1 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.955, allocations: 26.36 kB / 1.1 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.015e-05/0.9551, allocations: 84.14 kB / 1.1 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.9551, allocations: 18.89 kB / 1.1 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-06/0.9551, allocations: 4 kB / 1.1 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.9553, allocations: 314.8 kB / 1.1 GB, free: 328 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.803e-05/0.9553, allocations: 11.94 kB / 1.1 GB, free: 316 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.358e-05/0.9553, allocations: 8 kB / 1.1 GB, free: 308 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.416e-05/0.9554, allocations: 5.172 kB / 1.101 GB, free: 304 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.9554, allocations: 0 / 1.101 GB, free: 304 kB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.601e-05/0.9555, allocations: 56.78 kB / 1.101 GB, free: 244 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.9555, allocations: 4 kB / 1.101 GB, free: 240 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.9555, allocations: 0 / 1.101 GB, free: 240 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.9555, allocations: 0 / 1.101 GB, free: 240 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.9557, allocations: 27.8 kB / 1.101 GB, free: 216 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.9557, allocations: 4 kB / 1.101 GB, free: 212 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.003e-05/0.9558, allocations: 15.98 kB / 1.101 GB, free: 196 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.9558, allocations: 0 / 1.101 GB, free: 196 kB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.113e-05/0.9559, allocations: 108.9 kB / 1.101 GB, free: 80 kB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001117/0.9561, allocations: 57.53 kB / 1.101 GB, free: 16 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.478e-05/0.9561, allocations: 6.016 kB / 1.101 GB, free: 12 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001496/0.9563, allocations: 54.16 kB / 1.101 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.9563, allocations: 4 kB / 1.101 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.9563, allocations: 0 / 1.101 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.9563, allocations: 1.875 kB / 1.101 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.9565, allocations: 154.1 kB / 1.101 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.9565, allocations: 0 / 1.101 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.9566, allocations: 23.98 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.9566, allocations: 0 / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.9566, allocations: 0 / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.9566, allocations: 7.938 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.9566, allocations: 4 kB / 1.101 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.9568, allocations: 147.4 kB / 1.101 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.245e-05/0.9568, allocations: 81.11 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.9569, allocations: 2.938 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.957, allocations: 23.97 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.202e-05/0.957, allocations: 0 / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.957, allocations: 1.219 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.491e-05/0.9571, allocations: 94.39 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.91e-07/0.9571, allocations: 0 / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002542/0.9574, allocations: 7.938 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0004279/0.9578, allocations: 0.6952 MB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.689e-05/0.9579, allocations: 20 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.9579, allocations: 0 / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.276e-05/0.958, allocations: 12.94 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.9582, allocations: 8.766 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003673/0.9585, allocations: 106.4 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.9588, allocations: 0.6885 MB / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.596e-05/0.9589, allocations: 0 / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.758e-05/0.9589, allocations: 18.25 kB / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of SimCode: time 2.9e-07/0.959, allocations: 3.938 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01925/0.9782, allocations: 0.9533 MB / 1.104 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001731/0.9784, allocations: 157.3 kB / 1.104 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.57/2.548, allocations: 2.688 kB / 1.104 GB, free: 12.61 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Max.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1)