Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.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.Max,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",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.729/1.729, allocations: 289.7 MB / 302.2 MB, free: 2.152 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.001164/0.001164, allocations: 176.9 kB / 371.6 MB, free: 3.348 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.668/1.668, allocations: 205.2 MB / 0.6309 GB, free: 11.75 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.0009041/0.0009042, allocations: 88.38 kB / 0.745 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.566e-05/4.568e-05, allocations: 8 kB / 0.8663 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2699, allocations: 116.3 MB / 0.9799 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8949/1.165, allocations: 138.4 MB / 1.115 GB, free: 45.14 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000216/1.165, allocations: 72.62 kB / 1.115 GB, free: 45.11 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.002024/1.167, allocations: 0.801 MB / 1.116 GB, free: 44.54 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.255e-06/1.167, allocations: 0 / 1.116 GB, free: 44.54 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.464e-06/1.167, allocations: 0 / 1.116 GB, free: 44.54 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003631/1.168, allocations: 369.8 kB / 1.116 GB, free: 44.16 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/1.168, allocations: 8.031 kB / 1.116 GB, free: 44.15 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.471e-05/1.168, allocations: 39.06 kB / 1.116 GB, free: 44.11 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.804e-05/1.168, allocations: 4.062 kB / 1.116 GB, free: 44.11 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.81e-05/1.168, allocations: 171.3 kB / 1.117 GB, free: 43.9 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/1.168, allocations: 3.828 kB / 1.117 GB, free: 43.9 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/1.168, allocations: 4 kB / 1.117 GB, free: 43.9 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/1.168, allocations: 44.02 kB / 1.117 GB, free: 43.86 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.074e-06/1.168, allocations: 0 / 1.117 GB, free: 43.86 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/1.168, allocations: 5.375 kB / 1.117 GB, free: 43.86 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/1.168, allocations: 0 / 1.117 GB, free: 43.86 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.421e-05/1.168, allocations: 18.38 kB / 1.117 GB, free: 43.85 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004502/1.169, allocations: 313.8 kB / 1.117 GB, free: 43.53 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.003e-05/1.169, allocations: 36.83 kB / 1.117 GB, free: 43.49 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.068e-05/1.169, allocations: 11.73 kB / 1.117 GB, free: 43.48 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/1.169, allocations: 7.516 kB / 1.117 GB, free: 43.48 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/1.169, allocations: 30.56 kB / 1.117 GB, free: 43.44 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/1.169, allocations: 0 / 1.117 GB, free: 43.44 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001653/1.169, allocations: 47.97 kB / 1.117 GB, free: 43.39 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/1.169, allocations: 66.25 kB / 1.117 GB, free: 43.32 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.091e-05/1.169, allocations: 96.38 kB / 1.117 GB, free: 43.23 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.438e-06/1.169, allocations: 29.7 kB / 1.117 GB, free: 43.19 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.873e-05/1.169, allocations: 83.27 kB / 1.117 GB, free: 43.11 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/1.169, allocations: 15.28 kB / 1.117 GB, free: 43.1 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-06/1.169, allocations: 0 / 1.117 GB, free: 43.1 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.613e-05/1.169, allocations: 317.7 kB / 1.118 GB, free: 42.78 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.398e-05/1.169, allocations: 6.75 kB / 1.118 GB, free: 42.78 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.032e-05/1.169, allocations: 11.5 kB / 1.118 GB, free: 42.77 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.723e-05/1.169, allocations: 11.52 kB / 1.118 GB, free: 42.77 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/1.169, allocations: 0 / 1.118 GB, free: 42.77 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.847e-05/1.169, allocations: 52.78 kB / 1.118 GB, free: 42.71 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/1.169, allocations: 7.422 kB / 1.118 GB, free: 42.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/1.169, allocations: 0.5625 kB / 1.118 GB, free: 42.71 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/1.169, allocations: 0 / 1.118 GB, free: 42.71 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/1.17, allocations: 23.5 kB / 1.118 GB, free: 42.69 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/1.17, allocations: 0.5469 kB / 1.118 GB, free: 42.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.682e-05/1.17, allocations: 27.11 kB / 1.118 GB, free: 42.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/1.17, allocations: 0.6562 kB / 1.118 GB, free: 42.68 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 (3): * Single equations (assignments): 3 * 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 4.505e-05/1.17, allocations: 108.9 kB / 1.118 GB, free: 42.56 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/1.17, allocations: 4.469 kB / 1.118 GB, free: 42.56 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001224/1.17, allocations: 63.31 kB / 1.118 GB, free: 42.5 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/1.17, allocations: 0.6562 kB / 1.118 GB, free: 42.5 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/1.17, allocations: 0 / 1.118 GB, free: 42.5 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/1.17, allocations: 0 / 1.118 GB, free: 42.5 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/1.17, allocations: 173 kB / 1.118 GB, free: 42.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/1.17, allocations: 3.469 kB / 1.118 GB, free: 42.3 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/1.17, allocations: 23.41 kB / 1.118 GB, free: 42.28 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/1.17, allocations: 0 / 1.118 GB, free: 42.28 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.353e-06/1.17, allocations: 0 / 1.118 GB, free: 42.28 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/1.17, allocations: 0 / 1.118 GB, free: 42.28 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/1.17, allocations: 6.844 kB / 1.118 GB, free: 42.28 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000102/1.17, allocations: 157.7 kB / 1.118 GB, free: 42.12 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.167e-05/1.17, allocations: 84.53 kB / 1.118 GB, free: 42.03 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/1.17, allocations: 1.781 kB / 1.118 GB, free: 42.03 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/1.17, allocations: 15.56 kB / 1.118 GB, free: 42.02 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/1.171, allocations: 7.656 kB / 1.118 GB, free: 42.01 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/1.171, allocations: 0 / 1.118 GB, free: 42.01 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.101e-05/1.171, allocations: 92.27 kB / 1.118 GB, free: 41.93 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.171, allocations: 0 / 1.118 GB, free: 41.93 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001909/1.171, allocations: 11.81 kB / 1.118 GB, free: 41.92 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 (3): * Single equations (assignments): 3 * 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.0003127/1.171, allocations: 0.6878 MB / 1.119 GB, free: 41.22 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.305e-05/1.171, allocations: 20.27 kB / 1.119 GB, free: 41.21 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/1.171, allocations: 8 kB / 1.119 GB, free: 41.2 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.04e-05/1.171, allocations: 15.88 kB / 1.119 GB, free: 41.19 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001846/1.171, allocations: 8.688 kB / 1.119 GB, free: 41.19 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003335/1.172, allocations: 99.2 kB / 1.119 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001286/1.172, allocations: 0.6838 MB / 1.12 GB, free: 40.37 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.211e-05/1.172, allocations: 0.6562 kB / 1.12 GB, free: 40.37 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.108e-05/1.172, allocations: 26.5 kB / 1.12 GB, free: 40.36 MB / 0.7448 GB Notification: Performance of SimCode: time 3.2e-07/1.172, allocations: 0 / 1.12 GB, free: 40.36 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01284/1.185, allocations: 1.283 MB / 1.121 GB, free: 39.68 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002181/1.185, allocations: 156 kB / 1.121 GB, free: 39.45 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.614/2.799, allocations: 0 / 1.121 GB, free: 39.45 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Max.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1)