Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.465/1.465, allocations: 249.5 MB / 257 MB, free: 6.945 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 179.3 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.717/1.717, allocations: 205.3 MB / 0.5671 GB, free: 15.89 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009985/0.0009985, allocations: 102.4 kB / 0.6714 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.423e-05/2.425e-05, allocations: 12 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2379, allocations: 106.4 MB / 0.8853 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6593/0.8973, allocations: 131.2 MB / 1.013 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/0.8976, allocations: 73.69 kB / 1.014 GB, free: 6.113 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001546/0.8992, allocations: 0.6851 MB / 1.014 GB, free: 5.492 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.442e-06/0.8992, allocations: 0 / 1.014 GB, free: 5.492 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.848e-06/0.8992, allocations: 4 kB / 1.014 GB, free: 5.488 MB / 0.6355 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.0002749/0.8995, allocations: 334.4 kB / 1.015 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.8995, allocations: 8.031 kB / 1.015 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.8996, allocations: 11.91 kB / 1.015 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.8997, allocations: 177.6 kB / 1.015 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.8998, allocations: 4 kB / 1.015 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.8998, allocations: 0 / 1.015 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.063e-05/0.8999, allocations: 43.23 kB / 1.015 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.9, allocations: 67.66 kB / 1.015 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.9, allocations: 0 / 1.015 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.9, allocations: 0 / 1.015 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.9, allocations: 4 kB / 1.015 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004405/0.9005, allocations: 467.9 kB / 1.015 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.706e-05/0.9005, allocations: 165.1 kB / 1.015 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.135e-05/0.9006, allocations: 80.14 kB / 1.016 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.9006, allocations: 79.28 kB / 1.016 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.184e-05/0.9007, allocations: 112.4 kB / 1.016 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.9007, allocations: 0.8438 kB / 1.016 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 6.737e-05/0.9007, allocations: 36.3 kB / 1.016 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.366e-05/0.9008, allocations: 51.41 kB / 1.016 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.948e-05/0.9009, allocations: 118.9 kB / 1.016 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.9009, allocations: 25.7 kB / 1.016 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.202e-05/0.901, allocations: 99.77 kB / 1.016 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.363e-06/0.901, allocations: 0 / 1.016 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-06/0.901, allocations: 0 / 1.016 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.9011, allocations: 314.8 kB / 1.016 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.48e-05/0.9011, allocations: 11.5 kB / 1.016 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.091e-05/0.9011, allocations: 7.984 kB / 1.016 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.356e-05/0.9011, allocations: 6.5 kB / 1.016 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.9011, allocations: 0 / 1.016 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.829e-05/0.9013, allocations: 56.8 kB / 1.016 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.9013, allocations: 7.938 kB / 1.016 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.9013, allocations: 320 / 1.016 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.9013, allocations: 7.938 kB / 1.016 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.159e-05/0.9014, allocations: 4 kB / 1.016 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.9014, allocations: 0 / 1.016 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.951e-05/0.9014, allocations: 4 kB / 1.016 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.9014, allocations: 3.984 kB / 1.016 GB, free: 3.098 MB / 0.6355 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.288e-05/0.9015, allocations: 176.3 kB / 1.017 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.752e-05/0.9016, allocations: 138.7 kB / 1.017 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.396e-05/0.9016, allocations: 120 kB / 1.017 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.109e-05/0.9017, allocations: 105 kB / 1.017 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-05/0.9018, allocations: 176.3 kB / 1.017 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.314e-05/0.9018, allocations: 188.2 kB / 1.017 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.695e-05/0.9019, allocations: 176.3 kB / 1.017 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001922/0.9021, allocations: 396.3 kB / 1.018 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.582e-05/0.9021, allocations: 108.9 kB / 1.018 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.305e-05/0.9022, allocations: 101.4 kB / 1.018 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.507e-05/0.9022, allocations: 184.2 kB / 1.018 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.345e-05/0.9023, allocations: 184.2 kB / 1.018 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.041e-05/0.9024, allocations: 187.8 kB / 1.019 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-05/0.9024, allocations: 177.1 kB / 1.019 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/0.9026, allocations: 303.8 kB / 1.019 GB, free: 284 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.72e-05/0.9027, allocations: 185.3 kB / 1.019 GB, free: 76 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.222e-05/0.9028, allocations: 188.2 kB / 1.019 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.212e-05/0.9028, allocations: 105 kB / 1.019 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/0.9029, allocations: 180.2 kB / 1.02 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.739e-05/0.9029, allocations: 105.9 kB / 1.02 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.611e-05/0.903, allocations: 98.14 kB / 1.02 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/0.903, allocations: 0 / 1.02 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002304/0.9032, allocations: 11.84 kB / 1.02 GB, free: 15.38 MB / 0.6511 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.0003998/0.9037, allocations: 0.8098 MB / 1.021 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.294e-05/0.9037, allocations: 10.88 kB / 1.021 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.9037, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.9037, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.9041, allocations: 0.5289 MB / 1.021 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003804/0.9045, allocations: 200 kB / 1.021 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.9048, allocations: 0.6963 MB / 1.022 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.485e-05/0.9048, allocations: 4 kB / 1.022 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.75e-05/0.9048, allocations: 14.69 kB / 1.022 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of SimCode: time 2.71e-07/0.9049, allocations: 4 kB / 1.022 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01661/0.9215, allocations: 0.7414 MB / 1.023 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002029/0.9217, allocations: 161.5 kB / 1.023 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.345/2.267, allocations: 3.938 kB / 1.023 GB, free: 12.11 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1)