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.545/1.545, allocations: 249.3 MB / 261.8 MB, free: 5.922 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.00196/0.00196, allocations: 186.6 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.634/1.634, allocations: 205.2 MB / 0.572 GB, free: 10.65 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.001078/0.001078, allocations: 86.52 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.01e-05/4.012e-05, allocations: 8 kB / 0.7881 GB, free: 96.97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2612, allocations: 106.3 MB / 0.8919 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8009/1.062, allocations: 130.9 MB / 1.02 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003033/1.063, allocations: 67.09 kB / 1.02 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001845/1.064, allocations: 0.6994 MB / 1.02 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.335e-06/1.064, allocations: 0 / 1.02 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.374e-05/1.064, allocations: 0 / 1.02 GB, free: 3.117 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.0003637/1.065, allocations: 338.3 kB / 1.021 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/1.065, allocations: 12.03 kB / 1.021 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.096e-05/1.065, allocations: 38.3 kB / 1.021 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.753e-05/1.065, allocations: 7.906 kB / 1.021 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002717/1.065, allocations: 188.7 kB / 1.021 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/1.065, allocations: 4 kB / 1.021 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/1.065, allocations: 7.875 kB / 1.021 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/1.066, allocations: 68.42 kB / 1.021 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/1.066, allocations: 0 / 1.021 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/1.066, allocations: 7.438 kB / 1.021 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/1.066, allocations: 0 / 1.021 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/1.066, allocations: 47.03 kB / 1.021 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005593/1.066, allocations: 493.7 kB / 1.022 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.583e-05/1.066, allocations: 179.8 kB / 1.022 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.428e-05/1.066, allocations: 84.09 kB / 1.022 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/1.066, allocations: 78.91 kB / 1.022 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/1.066, allocations: 105.8 kB / 1.022 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/1.066, allocations: 0 / 1.022 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 8.441e-05/1.067, allocations: 29.7 kB / 1.022 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.358e-05/1.067, allocations: 134.6 kB / 1.022 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/1.067, allocations: 155 kB / 1.022 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/1.067, allocations: 25.7 kB / 1.022 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.162e-05/1.067, allocations: 101.7 kB / 1.023 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.106e-06/1.067, allocations: 0 / 1.023 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-06/1.067, allocations: 0 / 1.023 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001099/1.067, allocations: 318.2 kB / 1.023 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.712e-05/1.067, allocations: 7.984 kB / 1.023 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.273e-05/1.067, allocations: 11.56 kB / 1.023 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.091e-05/1.067, allocations: 7.984 kB / 1.023 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/1.067, allocations: 0 / 1.023 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001277/1.067, allocations: 53.41 kB / 1.023 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/1.067, allocations: 9.672 kB / 1.023 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/1.067, allocations: 0 / 1.023 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/1.067, allocations: 0 / 1.023 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.63e-05/1.067, allocations: 7.984 kB / 1.023 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/1.067, allocations: 0 / 1.023 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.741e-05/1.067, allocations: 12.03 kB / 1.023 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/1.067, allocations: 4 kB / 1.023 GB, free: 0.5117 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 9.526e-05/1.068, allocations: 176.3 kB / 1.023 GB, free: 340 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.391e-05/1.068, allocations: 112.9 kB / 1.023 GB, free: 220 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.809e-05/1.068, allocations: 119.9 kB / 1.023 GB, free: 96 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.558e-05/1.068, allocations: 180.2 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.799e-05/1.068, allocations: 180.3 kB / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-05/1.068, allocations: 180.2 kB / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002402/1.068, allocations: 416.2 kB / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.289e-05/1.068, allocations: 117.5 kB / 1.024 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.742e-05/1.068, allocations: 105.3 kB / 1.024 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-05/1.068, allocations: 176.3 kB / 1.025 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.647e-05/1.068, allocations: 188.2 kB / 1.025 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.37e-05/1.068, allocations: 184.2 kB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.646e-05/1.069, allocations: 176.3 kB / 1.025 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001386/1.069, allocations: 307.1 kB / 1.025 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.641e-05/1.069, allocations: 200.5 kB / 1.026 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.113e-05/1.069, allocations: 188.2 kB / 1.026 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.224e-05/1.069, allocations: 101 kB / 1.026 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.509e-05/1.069, allocations: 184.2 kB / 1.026 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.273e-05/1.069, allocations: 105 kB / 1.026 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001004/1.069, allocations: 129.1 kB / 1.026 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/1.069, allocations: 4 kB / 1.026 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002199/1.069, allocations: 8 kB / 1.026 GB, free: 12.87 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.000523/1.07, allocations: 0.8183 MB / 1.027 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 6.727e-05/1.07, allocations: 7.984 kB / 1.027 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/1.07, allocations: 4.062 kB / 1.027 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.655e-06/1.07, allocations: 0 / 1.027 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/1.07, allocations: 0.5296 MB / 1.028 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004027/1.071, allocations: 201 kB / 1.028 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/1.071, allocations: 0.7 MB / 1.028 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.587e-05/1.071, allocations: 4 kB / 1.029 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.433e-05/1.071, allocations: 18.31 kB / 1.029 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of SimCode: time 3.126e-06/1.071, allocations: 0 / 1.029 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01158/1.083, allocations: 1.372 MB / 1.03 GB, free: 9.27 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001876/1.083, allocations: 172.2 kB / 1.03 GB, free: 9.043 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.51/2.593, allocations: 0 / 1.03 GB, free: 9.043 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)