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.001619/0.001619, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002204/0.002204, allocations: 197.9 kB / 16.14 MB, free: 6.688 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.481/1.481, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.854/2.854, allocations: 472.6 MB / 0.7447 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 65.17 kB / 0.9114 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3917/0.393, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.00245/0.3955, allocations: 0.7107 MB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002043/0.3957, allocations: 22.08 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.471e-05/0.3958, allocations: 0 / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001249/0.3959, allocations: 0 / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.304e-05/0.396, allocations: 7.875 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 8.411e-05/0.3961, allocations: 4 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.525e-05/0.3961, allocations: 23.92 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.3963, allocations: 35.98 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.717e-05/0.3963, allocations: 8 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.44e-05/0.3964, allocations: 19.86 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.3964, allocations: 4 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.564e-05/0.3964, allocations: 4 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.212e-05/0.3965, allocations: 8 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.351e-05/0.3965, allocations: 19.86 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.261e-05/0.3966, allocations: 43.81 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3966, allocations: 0 / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.012e-06/0.3966, allocations: 0 / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.3966, allocations: 0 / 1.068 GB, free: 10.01 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.0003908/0.397, allocations: 351.7 kB / 1.069 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.851e-05/0.3971, allocations: 15.97 kB / 1.069 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.237e-05/0.3971, allocations: 8.844 kB / 1.069 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.3973, allocations: 176.3 kB / 1.069 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.3973, allocations: 4.375 kB / 1.069 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.3973, allocations: 4.375 kB / 1.069 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.3975, allocations: 74.17 kB / 1.069 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.3975, allocations: 192 / 1.069 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.3976, allocations: 11.94 kB / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.3976, allocations: 3.984 kB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.718e-05/0.3976, allocations: 51.89 kB / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005298/0.3982, allocations: 487.1 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.3983, allocations: 173.1 kB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.24e-05/0.3984, allocations: 80.14 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000109/0.3985, allocations: 79.27 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.233e-05/0.3985, allocations: 117.9 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.3985, allocations: 0 / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.694e-05/0.3986, allocations: 29.7 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.542e-05/0.3987, allocations: 130.6 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.3989, allocations: 179 kB / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.399, allocations: 25.7 kB / 1.07 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.936e-05/0.399, allocations: 96.12 kB / 1.07 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.226e-06/0.3991, allocations: 4 kB / 1.07 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.004e-05/0.3991, allocations: 9.719 kB / 1.07 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.3993, allocations: 322.8 kB / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.757e-05/0.3993, allocations: 4 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.62e-05/0.3993, allocations: 11.98 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.471e-05/0.3994, allocations: 8.859 kB / 1.071 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.3994, allocations: 7.938 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001322/0.3995, allocations: 57.61 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.3995, allocations: 8 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3995, allocations: 0 / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.3996, allocations: 4 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.252e-05/0.3996, allocations: 0 / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.3997, allocations: 4.047 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.869e-05/0.3997, allocations: 11.88 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.3997, allocations: 4 kB / 1.071 GB, free: 7.273 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.0001126/0.3998, allocations: 193.1 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.764e-05/0.3999, allocations: 112.9 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.677e-05/0.4, allocations: 120.6 kB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.219e-05/0.4, allocations: 180.3 kB / 1.071 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.395e-05/0.4001, allocations: 184.2 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.09e-05/0.4002, allocations: 184.2 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002578/0.4004, allocations: 421.2 kB / 1.072 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.51e-05/0.4005, allocations: 108.9 kB / 1.072 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.659e-05/0.4005, allocations: 101 kB / 1.072 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.038e-05/0.4006, allocations: 180.3 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.026e-05/0.4007, allocations: 180.2 kB / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.784e-05/0.4008, allocations: 176.3 kB / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.315e-05/0.4008, allocations: 188.1 kB / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001783/0.401, allocations: 319.9 kB / 1.073 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.4012, allocations: 182.1 kB / 1.074 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.083e-05/0.4012, allocations: 188.3 kB / 1.074 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.582e-05/0.4013, allocations: 104.9 kB / 1.074 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.4015, allocations: 188.2 kB / 1.074 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.849e-05/0.4015, allocations: 104.9 kB / 1.074 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001091/0.4016, allocations: 137.3 kB / 1.074 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4016, allocations: 0 / 1.074 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003004/0.4019, allocations: 4 kB / 1.074 GB, free: 3.566 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.0001775/0.4021, allocations: 174.5 kB / 1.074 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.62e-05/0.4022, allocations: 11.98 kB / 1.074 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4022, allocations: 0 / 1.074 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.611e-06/0.4022, allocations: 8 kB / 1.074 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005138/0.4027, allocations: 0.5165 MB / 1.075 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002937/0.403, allocations: 237.8 kB / 1.075 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.4033, allocations: 0.6887 MB / 1.076 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.807e-05/0.4033, allocations: 7.984 kB / 1.076 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.674e-05/0.4034, allocations: 11.44 kB / 1.076 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.4034, allocations: 0 / 1.076 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of Templates: time 0.00258/0.406, allocations: 458.3 kB / 1.076 GB, free: 1.406 MB / 0.8262 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)