Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.000835/0.0008347, allocations: 97.64 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.006801/0.006801, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.631/1.631, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.941/2.941, allocations: 473.4 MB / 0.7469 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000377/0.000377, allocations: 15.7 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.3603, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.0009218/0.3613, allocations: 392.6 kB / 1.075 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001366/0.3614, allocations: 11.92 kB / 1.075 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.156e-05/0.3615, allocations: 0 / 1.075 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.717e-05/0.3616, allocations: 0 / 1.075 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.817e-05/0.3616, allocations: 7.938 kB / 1.075 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 7.042e-05/0.3617, allocations: 0 / 1.075 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.012e-05/0.3618, allocations: 23.98 kB / 1.075 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.362, allocations: 31.98 kB / 1.075 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.345e-05/0.362, allocations: 7.938 kB / 1.075 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.379e-05/0.362, allocations: 15.92 kB / 1.075 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.3621, allocations: 0 / 1.075 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.438e-06/0.3621, allocations: 0 / 1.075 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.917e-05/0.3621, allocations: 7.938 kB / 1.075 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.981e-05/0.3622, allocations: 45.56 kB / 1.075 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.598e-05/0.3623, allocations: 35.88 kB / 1.075 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3623, allocations: 3.938 kB / 1.075 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3623, allocations: 0 / 1.075 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.3623, allocations: 0 / 1.075 GB, free: 6.953 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.0003652/0.3627, allocations: 347.7 kB / 1.075 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.3627, allocations: 11.97 kB / 1.075 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.557e-05/0.3628, allocations: 12.78 kB / 1.075 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.3629, allocations: 172.4 kB / 1.075 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.363, allocations: 8.375 kB / 1.075 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.363, allocations: 4.375 kB / 1.075 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.3632, allocations: 76.39 kB / 1.075 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.3632, allocations: 4.188 kB / 1.075 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.3632, allocations: 7.938 kB / 1.075 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.3632, allocations: 4 kB / 1.075 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.3633, allocations: 55.89 kB / 1.075 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005853/0.3639, allocations: 487 kB / 1.076 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.364, allocations: 169.1 kB / 1.076 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.046e-05/0.3641, allocations: 80.14 kB / 1.076 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.3641, allocations: 83.28 kB / 1.076 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.09e-05/0.3642, allocations: 109.8 kB / 1.076 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.3642, allocations: 0 / 1.076 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 8.652e-05/0.3643, allocations: 37.64 kB / 1.076 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.209e-05/0.3644, allocations: 130.6 kB / 1.076 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.3645, allocations: 173.7 kB / 1.077 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.3646, allocations: 25.7 kB / 1.077 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.865e-05/0.3646, allocations: 104 kB / 1.077 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.188e-06/0.3646, allocations: 0 / 1.077 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.491e-05/0.3647, allocations: 9.719 kB / 1.077 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.3648, allocations: 318.8 kB / 1.077 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.869e-05/0.3648, allocations: 7.984 kB / 1.077 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.348e-05/0.3648, allocations: 8 kB / 1.077 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.109e-05/0.3649, allocations: 12.84 kB / 1.077 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3649, allocations: 64 / 1.077 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001306/0.365, allocations: 61.53 kB / 1.077 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.3651, allocations: 5.562 kB / 1.077 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.525e-06/0.3651, allocations: 0 / 1.077 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.3651, allocations: 3.984 kB / 1.077 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.023e-05/0.3652, allocations: 4 kB / 1.077 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.3652, allocations: 3.938 kB / 1.077 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.259e-05/0.3652, allocations: 7.938 kB / 1.077 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.3652, allocations: 0 / 1.077 GB, free: 4.23 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.0001132/0.3653, allocations: 201.1 kB / 1.077 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.693e-05/0.3654, allocations: 108.9 kB / 1.077 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.997e-05/0.3655, allocations: 112.6 kB / 1.078 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.749e-05/0.3655, allocations: 188.2 kB / 1.078 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.384e-05/0.3656, allocations: 180.2 kB / 1.078 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.836e-05/0.3657, allocations: 180.2 kB / 1.078 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/0.3659, allocations: 425.2 kB / 1.078 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-05/0.366, allocations: 112.9 kB / 1.079 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.941e-05/0.366, allocations: 105 kB / 1.079 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.764e-05/0.3661, allocations: 176.3 kB / 1.079 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.371e-05/0.3661, allocations: 180.2 kB / 1.079 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.011e-05/0.3662, allocations: 184.3 kB / 1.079 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.624e-05/0.3663, allocations: 184.1 kB / 1.079 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.3664, allocations: 308 kB / 1.08 GB, free: 1.469 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.3665, allocations: 194 kB / 1.08 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.123e-05/0.3666, allocations: 180.3 kB / 1.08 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.804e-05/0.3667, allocations: 116.9 kB / 1.08 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.721e-05/0.3668, allocations: 180.2 kB / 1.08 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-05/0.3669, allocations: 112.9 kB / 1.08 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001056/0.367, allocations: 131.2 kB / 1.081 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.31e-07/0.367, allocations: 0 / 1.081 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002184/0.3672, allocations: 4 kB / 1.081 GB, free: 0.5156 MB / 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.0002065/0.3674, allocations: 178.5 kB / 1.081 GB, free: 340 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.012e-05/0.3675, allocations: 11.98 kB / 1.081 GB, free: 328 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.3675, allocations: 0 / 1.081 GB, free: 328 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.194e-06/0.3675, allocations: 0 / 1.081 GB, free: 328 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005824/0.3681, allocations: 0.5197 MB / 1.081 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003276/0.3684, allocations: 233.8 kB / 1.081 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.3687, allocations: 0.6926 MB / 1.082 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 2.724e-05/0.3688, allocations: 7.984 kB / 1.082 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.48e-05/0.3688, allocations: 7.438 kB / 1.082 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of SimCode: time 1.693e-06/0.3688, allocations: 4 kB / 1.082 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of Templates: time 0.002711/0.3715, allocations: 440.4 kB / 1.083 GB, free: 14.37 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1)