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.651/1.651, allocations: 289.9 MB / 297.4 MB, free: 6.344 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.001057/0.001057, allocations: 176.8 kB / 366.7 MB, free: 1.672 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.775/1.775, allocations: 205.2 MB / 0.626 GB, free: 7.164 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.0008417/0.0008415, allocations: 92.77 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.575e-05/3.566e-05, allocations: 8 kB / 0.8598 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8334/0.8335, allocations: 116.3 MB / 0.9734 GB, free: 76.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2156/1.049, allocations: 137.4 MB / 1.108 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/1.049, allocations: 68.67 kB / 1.108 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.001794/1.051, allocations: 0.6844 MB / 1.108 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.906e-06/1.051, allocations: 0 / 1.108 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.997e-06/1.051, allocations: 3.5 kB / 1.108 GB, free: 11.9 MB / 0.7136 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.0003118/1.052, allocations: 338.8 kB / 1.109 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/1.052, allocations: 16.55 kB / 1.109 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.513e-05/1.052, allocations: 4 kB / 1.109 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/1.052, allocations: 179.5 kB / 1.109 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/1.052, allocations: 1.531 kB / 1.109 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/1.052, allocations: 7.984 kB / 1.109 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.535e-05/1.052, allocations: 35.98 kB / 1.109 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/1.052, allocations: 75.78 kB / 1.109 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/1.052, allocations: 0.6875 kB / 1.109 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/1.052, allocations: 0 / 1.109 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/1.052, allocations: 0.625 kB / 1.109 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004919/1.053, allocations: 453.5 kB / 1.109 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.069e-05/1.053, allocations: 174.5 kB / 1.11 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.769e-05/1.053, allocations: 80.86 kB / 1.11 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.187e-05/1.053, allocations: 75.94 kB / 1.11 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.129e-05/1.053, allocations: 107.3 kB / 1.11 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/1.053, allocations: 0 / 1.11 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 7.806e-05/1.053, allocations: 41.09 kB / 1.11 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/1.053, allocations: 55.41 kB / 1.11 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/1.053, allocations: 108.6 kB / 1.11 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/1.053, allocations: 30.3 kB / 1.11 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.661e-05/1.053, allocations: 96.5 kB / 1.11 GB, free: 9.895 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.498e-06/1.053, allocations: 8.469 kB / 1.11 GB, free: 9.891 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-06/1.053, allocations: 0 / 1.11 GB, free: 9.891 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001126/1.053, allocations: 315.5 kB / 1.11 GB, free: 9.574 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.589e-05/1.054, allocations: 9.078 kB / 1.11 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.12e-05/1.054, allocations: 8 kB / 1.11 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.66e-05/1.054, allocations: 10.17 kB / 1.11 GB, free: 9.551 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/1.054, allocations: 0 / 1.11 GB, free: 9.551 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001179/1.054, allocations: 45.69 kB / 1.111 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/1.054, allocations: 8 kB / 1.111 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/1.054, allocations: 0 / 1.111 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/1.054, allocations: 0.8125 kB / 1.111 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.729e-05/1.054, allocations: 3.984 kB / 1.111 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/1.054, allocations: 11.89 kB / 1.111 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.941e-05/1.054, allocations: 1.281 kB / 1.111 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/1.054, allocations: 6.047 kB / 1.111 GB, free: 9.473 MB / 0.7136 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 0.0001071/1.054, allocations: 181.4 kB / 1.111 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.781e-05/1.054, allocations: 134.6 kB / 1.111 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.881e-05/1.054, allocations: 109.5 kB / 1.111 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.214e-05/1.054, allocations: 114.4 kB / 1.111 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.634e-05/1.054, allocations: 180.3 kB / 1.111 GB, free: 8.73 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.917e-05/1.054, allocations: 182.5 kB / 1.111 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.277e-05/1.054, allocations: 180.3 kB / 1.112 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/1.055, allocations: 394.6 kB / 1.112 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.066e-05/1.055, allocations: 104.9 kB / 1.112 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.321e-05/1.055, allocations: 105.1 kB / 1.112 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.26e-05/1.055, allocations: 176.3 kB / 1.112 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.068e-05/1.055, allocations: 196.2 kB / 1.112 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.258e-05/1.055, allocations: 176.3 kB / 1.113 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.229e-05/1.055, allocations: 180.2 kB / 1.113 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/1.055, allocations: 306.6 kB / 1.113 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.286e-05/1.055, allocations: 190 kB / 1.113 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.514e-05/1.055, allocations: 182.3 kB / 1.113 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.846e-05/1.055, allocations: 105.1 kB / 1.114 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.652e-05/1.055, allocations: 184.2 kB / 1.114 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.315e-05/1.056, allocations: 109.8 kB / 1.114 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.085e-05/1.056, allocations: 95.28 kB / 1.114 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/1.056, allocations: 0 / 1.114 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002123/1.056, allocations: 7.938 kB / 1.114 GB, free: 5.75 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 (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.0004416/1.056, allocations: 0.8049 MB / 1.115 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.124e-05/1.056, allocations: 11.98 kB / 1.115 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/1.056, allocations: 3.75 kB / 1.115 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.639e-06/1.056, allocations: 3.938 kB / 1.115 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/1.057, allocations: 0.5225 MB / 1.115 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003878/1.057, allocations: 205.2 kB / 1.115 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/1.058, allocations: 0.6924 MB / 1.116 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.536e-05/1.058, allocations: 3.984 kB / 1.116 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.903e-05/1.058, allocations: 19.44 kB / 1.116 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of SimCode: time 2.8e-07/1.058, allocations: 0 / 1.116 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02077/1.078, allocations: 0.7477 MB / 1.117 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002087/1.079, allocations: 143.1 kB / 1.117 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.482/2.561, allocations: 0 / 1.117 GB, free: 2.5 MB / 0.7136 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)