Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 98.19 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009948/0.009948, allocations: 168.6 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.082/3.082, allocations: 473.4 MB / 0.7469 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003615/0.0003615, allocations: 14.19 kB / 0.9158 GB, free: 33.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3563, allocations: 162.2 MB / 1.074 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.0008858/0.3573, allocations: 388.6 kB / 1.075 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001464/0.3574, allocations: 11.94 kB / 1.075 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.495e-05/0.3575, allocations: 0 / 1.075 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.995e-05/0.3576, allocations: 7.984 kB / 1.075 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.793e-05/0.3576, allocations: 0 / 1.075 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 7.508e-05/0.3577, allocations: 0 / 1.075 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.672e-05/0.3578, allocations: 27.92 kB / 1.075 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/0.358, allocations: 35.97 kB / 1.075 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.334e-05/0.358, allocations: 7.938 kB / 1.075 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.835e-05/0.358, allocations: 7.938 kB / 1.075 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.3581, allocations: 4 kB / 1.075 GB, free: 7 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.909e-06/0.3581, allocations: 0 / 1.075 GB, free: 7 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.062e-05/0.3581, allocations: 7.938 kB / 1.075 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.482e-05/0.3582, allocations: 37.58 kB / 1.075 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.698e-05/0.3583, allocations: 47.84 kB / 1.075 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3583, allocations: 4 kB / 1.075 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.656e-06/0.3583, allocations: 0 / 1.075 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.3583, allocations: 7.875 kB / 1.075 GB, free: 6.891 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003746/0.3587, allocations: 335.7 kB / 1.075 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.3587, allocations: 12.03 kB / 1.075 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.831e-05/0.3588, allocations: 4.844 kB / 1.075 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.359, allocations: 176.3 kB / 1.075 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.359, allocations: 8.375 kB / 1.075 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.359, allocations: 4.375 kB / 1.075 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.3592, allocations: 80.39 kB / 1.075 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.3592, allocations: 192 / 1.075 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.3592, allocations: 7.938 kB / 1.075 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.3592, allocations: 4 kB / 1.075 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.938e-05/0.3593, allocations: 43.97 kB / 1.075 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005564/0.3599, allocations: 491 kB / 1.076 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.424e-05/0.36, allocations: 169.1 kB / 1.076 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.2e-05/0.36, allocations: 84.08 kB / 1.076 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.397e-05/0.3601, allocations: 79.28 kB / 1.076 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.25e-05/0.3601, allocations: 113.8 kB / 1.076 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.3601, allocations: 0 / 1.076 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.872e-05/0.3602, allocations: 37.64 kB / 1.076 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.533e-05/0.3603, allocations: 130.7 kB / 1.076 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.3605, allocations: 175.3 kB / 1.077 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.3605, allocations: 25.7 kB / 1.077 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.397e-05/0.3606, allocations: 96.05 kB / 1.077 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.086e-06/0.3606, allocations: 0 / 1.077 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.43e-05/0.3606, allocations: 9.719 kB / 1.077 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.3608, allocations: 322.8 kB / 1.077 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.74e-05/0.3608, allocations: 7.938 kB / 1.077 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.405e-05/0.3608, allocations: 11.98 kB / 1.077 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.798e-05/0.3608, allocations: 12.86 kB / 1.077 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.3609, allocations: 7.984 kB / 1.077 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001271/0.361, allocations: 49.59 kB / 1.077 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.361, allocations: 5.406 kB / 1.077 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.361, allocations: 0 / 1.077 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.3611, allocations: 4 kB / 1.077 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.296e-05/0.3611, allocations: 0 / 1.077 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/0.3611, allocations: 3.938 kB / 1.077 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.145e-05/0.3612, allocations: 12.03 kB / 1.077 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.3612, allocations: 4 kB / 1.077 GB, free: 4.188 MB / 0.8262 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001534/0.3614, allocations: 197 kB / 1.077 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.107e-05/0.3615, allocations: 108.9 kB / 1.077 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.396e-05/0.3615, allocations: 116.6 kB / 1.078 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.327e-05/0.3616, allocations: 184.2 kB / 1.078 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-05/0.3617, allocations: 188.1 kB / 1.078 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-05/0.3617, allocations: 184.2 kB / 1.078 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002457/0.362, allocations: 421.2 kB / 1.078 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-05/0.362, allocations: 101 kB / 1.079 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.535e-05/0.3621, allocations: 105 kB / 1.079 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.281e-05/0.3621, allocations: 188.2 kB / 1.079 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.168e-05/0.3622, allocations: 184.2 kB / 1.079 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.778e-05/0.3623, allocations: 180.2 kB / 1.079 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.776e-05/0.3623, allocations: 180.2 kB / 1.079 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001473/0.3625, allocations: 312 kB / 1.08 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.985e-05/0.3626, allocations: 201.9 kB / 1.08 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.492e-05/0.3626, allocations: 176.3 kB / 1.08 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.149e-05/0.3627, allocations: 109 kB / 1.08 GB, free: 0.9062 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.19e-05/0.3628, allocations: 184.1 kB / 1.08 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.38e-05/0.3629, allocations: 101 kB / 1.08 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001187/0.363, allocations: 132.6 kB / 1.081 GB, free: 496 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.363, allocations: 4 kB / 1.081 GB, free: 492 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002218/0.3632, allocations: 8 kB / 1.081 GB, free: 484 kB / 0.8262 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001564/0.3634, allocations: 174.5 kB / 1.081 GB, free: 300 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.788e-05/0.3635, allocations: 15.94 kB / 1.081 GB, free: 284 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3635, allocations: 0 / 1.081 GB, free: 284 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.714e-06/0.3635, allocations: 0 / 1.081 GB, free: 284 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000507/0.364, allocations: 0.524 MB / 1.081 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002984/0.3643, allocations: 232.6 kB / 1.081 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.3646, allocations: 0.6887 MB / 1.082 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 2.651e-05/0.3647, allocations: 8 kB / 1.082 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.651e-05/0.3647, allocations: 11.44 kB / 1.082 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.3647, allocations: 0 / 1.082 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of Templates: time 0.002521/0.3672, allocations: 451.9 kB / 1.083 GB, free: 14.32 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1)