Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.676/1.676, allocations: 289.7 MB / 302.2 MB, free: 2.148 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.001135/0.001136, allocations: 182.8 kB / 371.6 MB, free: 3.418 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.621/1.621, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.001128/0.001128, allocations: 90.36 kB / 0.745 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 6.003e-05/6.021e-05, allocations: 8 kB / 0.8664 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3027, allocations: 116.3 MB / 0.9799 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9816/1.284, allocations: 138.1 MB / 1.115 GB, free: 45.26 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/1.285, allocations: 69.45 kB / 1.115 GB, free: 45.23 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.001571/1.286, allocations: 0.6864 MB / 1.116 GB, free: 44.73 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.492e-06/1.286, allocations: 0 / 1.116 GB, free: 44.73 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.051e-05/1.286, allocations: 7.812 kB / 1.116 GB, free: 44.73 MB / 0.7448 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.0002441/1.287, allocations: 336.5 kB / 1.116 GB, free: 44.37 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/1.287, allocations: 8.688 kB / 1.116 GB, free: 44.36 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.423e-05/1.287, allocations: 39.12 kB / 1.116 GB, free: 44.32 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.725e-05/1.287, allocations: 4.812 kB / 1.116 GB, free: 44.32 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/1.287, allocations: 190.6 kB / 1.116 GB, free: 44.1 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/1.287, allocations: 4.375 kB / 1.116 GB, free: 44.1 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/1.287, allocations: 8.469 kB / 1.116 GB, free: 44.1 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/1.287, allocations: 72.66 kB / 1.116 GB, free: 44.04 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/1.287, allocations: 0 / 1.116 GB, free: 44.04 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/1.287, allocations: 1.188 kB / 1.116 GB, free: 44.04 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/1.287, allocations: 4.781 kB / 1.116 GB, free: 44.04 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.096e-05/1.287, allocations: 42.06 kB / 1.116 GB, free: 44.02 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004081/1.288, allocations: 494.1 kB / 1.117 GB, free: 43.54 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.848e-05/1.288, allocations: 171.8 kB / 1.117 GB, free: 43.36 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.914e-05/1.288, allocations: 84.11 kB / 1.117 GB, free: 43.28 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/1.288, allocations: 75.28 kB / 1.117 GB, free: 43.21 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/1.288, allocations: 113.8 kB / 1.117 GB, free: 43.09 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/1.288, allocations: 2.844 kB / 1.117 GB, free: 43.09 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 6.399e-05/1.288, allocations: 29.03 kB / 1.117 GB, free: 43.05 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/1.288, allocations: 129.7 kB / 1.117 GB, free: 42.92 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/1.288, allocations: 167.4 kB / 1.117 GB, free: 42.78 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.785e-06/1.288, allocations: 25.7 kB / 1.117 GB, free: 42.75 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.681e-05/1.288, allocations: 95.2 kB / 1.118 GB, free: 42.66 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.797e-06/1.288, allocations: 0 / 1.118 GB, free: 42.66 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-06/1.288, allocations: 0 / 1.118 GB, free: 42.66 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.233e-05/1.288, allocations: 323 kB / 1.118 GB, free: 42.34 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.494e-05/1.288, allocations: 4 kB / 1.118 GB, free: 42.34 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.592e-05/1.288, allocations: 19.12 kB / 1.118 GB, free: 42.33 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.701e-05/1.288, allocations: 4 kB / 1.118 GB, free: 42.32 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/1.288, allocations: 0 / 1.118 GB, free: 42.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001132/1.288, allocations: 52.39 kB / 1.118 GB, free: 42.28 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/1.288, allocations: 8 kB / 1.118 GB, free: 42.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/1.288, allocations: 3.953 kB / 1.118 GB, free: 42.27 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/1.288, allocations: 0 / 1.118 GB, free: 42.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.377e-05/1.288, allocations: 4 kB / 1.118 GB, free: 42.26 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/1.288, allocations: 0 / 1.118 GB, free: 42.26 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.504e-05/1.288, allocations: 11.61 kB / 1.118 GB, free: 42.25 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/1.289, allocations: 1.562 kB / 1.118 GB, free: 42.25 MB / 0.7448 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 (1): * Single equations (assignments): 1 * 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 7.465e-05/1.289, allocations: 177.9 kB / 1.118 GB, free: 42.07 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.24e-05/1.289, allocations: 113.4 kB / 1.118 GB, free: 41.96 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.375e-05/1.289, allocations: 115.8 kB / 1.118 GB, free: 41.84 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-05/1.289, allocations: 184.2 kB / 1.119 GB, free: 41.66 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.953e-05/1.289, allocations: 180.3 kB / 1.119 GB, free: 41.47 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.785e-05/1.289, allocations: 183.5 kB / 1.119 GB, free: 41.29 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/1.289, allocations: 424.2 kB / 1.119 GB, free: 40.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.009e-05/1.289, allocations: 101 kB / 1.119 GB, free: 40.73 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.234e-05/1.289, allocations: 105.3 kB / 1.119 GB, free: 40.62 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.883e-05/1.289, allocations: 187.7 kB / 1.12 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.112e-05/1.289, allocations: 184.3 kB / 1.12 GB, free: 40.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.425e-05/1.289, allocations: 180.2 kB / 1.12 GB, free: 40.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-05/1.289, allocations: 180.2 kB / 1.12 GB, free: 39.88 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.336e-05/1.289, allocations: 314.4 kB / 1.12 GB, free: 39.56 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.054e-05/1.289, allocations: 193.3 kB / 1.121 GB, free: 39.35 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.065e-05/1.289, allocations: 181.9 kB / 1.121 GB, free: 39.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.766e-05/1.29, allocations: 105 kB / 1.121 GB, free: 39.06 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-05/1.29, allocations: 184.2 kB / 1.121 GB, free: 38.87 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.125e-05/1.29, allocations: 101 kB / 1.121 GB, free: 38.77 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.726e-05/1.29, allocations: 140.6 kB / 1.121 GB, free: 38.66 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.29, allocations: 4 kB / 1.121 GB, free: 38.65 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002366/1.29, allocations: 4 kB / 1.121 GB, free: 38.65 MB / 0.7448 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 (0): * Single equations (assignments): 0 * 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.0003271/1.29, allocations: 0.8096 MB / 1.122 GB, free: 37.82 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.495e-05/1.29, allocations: 12.22 kB / 1.122 GB, free: 37.81 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.29, allocations: 4.062 kB / 1.122 GB, free: 37.8 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.452e-06/1.29, allocations: 0 / 1.122 GB, free: 37.8 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/1.291, allocations: 0.5291 MB / 1.123 GB, free: 37.28 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003655/1.291, allocations: 204.5 kB / 1.123 GB, free: 37.07 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001736/1.291, allocations: 0.6989 MB / 1.124 GB, free: 36.35 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.702e-05/1.291, allocations: 5.312 kB / 1.124 GB, free: 36.35 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.111e-05/1.291, allocations: 17.08 kB / 1.124 GB, free: 36.34 MB / 0.7448 GB Notification: Performance of SimCode: time 2.51e-07/1.291, allocations: 0 / 1.124 GB, free: 36.34 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01286/1.304, allocations: 1.363 MB / 1.125 GB, free: 35.61 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001524/1.304, allocations: 153.4 kB / 1.125 GB, free: 35.39 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.713/3.017, allocations: 0 / 1.125 GB, free: 35.39 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1)