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.376/1.376, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001463/0.001463, allocations: 181.2 kB / 326.5 MB, free: 2.262 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.968/1.968, allocations: 205.4 MB / 0.5775 GB, free: 20.51 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.001116/0.001116, allocations: 86.05 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003758/0.0003758, allocations: 12.56 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2882, allocations: 106.3 MB / 0.9002 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2073/0.4956, allocations: 131 MB / 1.028 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002541/0.4959, allocations: 71.94 kB / 1.028 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001884/0.4978, allocations: 0.6888 MB / 1.029 GB, free: 12.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.246e-06/0.4978, allocations: 4 kB / 1.029 GB, free: 12.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.055e-05/0.4978, allocations: 0 / 1.029 GB, free: 12.4 MB / 0.6823 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.000443/0.4983, allocations: 351.1 kB / 1.029 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.603e-05/0.4983, allocations: 12.03 kB / 1.029 GB, free: 12 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.553e-05/0.4984, allocations: 34.5 kB / 1.029 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.763e-05/0.4985, allocations: 4 kB / 1.029 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.4987, allocations: 186.9 kB / 1.029 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.4987, allocations: 4 kB / 1.029 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.4988, allocations: 11.94 kB / 1.029 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.499, allocations: 77.59 kB / 1.029 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.499, allocations: 3.938 kB / 1.029 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.499, allocations: 4 kB / 1.03 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.447e-06/0.499, allocations: 4 kB / 1.03 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.943e-05/0.4991, allocations: 43.89 kB / 1.03 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005884/0.4997, allocations: 491.1 kB / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.938e-05/0.4998, allocations: 173.1 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.427e-05/0.4999, allocations: 83.22 kB / 1.03 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.311e-05/0.4999, allocations: 105.8 kB / 1.03 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.183e-06/0.4999, allocations: 4 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 8.127e-05/0.5, allocations: 38.38 kB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.482e-05/0.5001, allocations: 126.7 kB / 1.031 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.5003, allocations: 155.5 kB / 1.031 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.5003, allocations: 33.7 kB / 1.031 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.992e-05/0.5004, allocations: 88.14 kB / 1.031 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.417e-06/0.5004, allocations: 4 kB / 1.031 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-06/0.5004, allocations: 0 / 1.031 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.5005, allocations: 318.8 kB / 1.031 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.912e-05/0.5006, allocations: 11.98 kB / 1.031 GB, free: 9.859 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.013e-05/0.5006, allocations: 4 kB / 1.031 GB, free: 9.855 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.162e-05/0.5006, allocations: 7.984 kB / 1.031 GB, free: 9.848 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5006, allocations: 4 kB / 1.031 GB, free: 9.844 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000132/0.5008, allocations: 49.59 kB / 1.031 GB, free: 9.789 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.5008, allocations: 7.953 kB / 1.031 GB, free: 9.781 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.5008, allocations: 0 / 1.031 GB, free: 9.781 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.5008, allocations: 7.938 kB / 1.031 GB, free: 9.773 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.994e-05/0.5009, allocations: 4.094 kB / 1.031 GB, free: 9.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.5009, allocations: 4 kB / 1.031 GB, free: 9.766 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.085e-05/0.501, allocations: 12.03 kB / 1.031 GB, free: 9.754 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.501, allocations: 7.938 kB / 1.031 GB, free: 9.746 MB / 0.6823 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 () * Number of clocked 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.0001373/0.5011, allocations: 190.7 kB / 1.031 GB, free: 9.551 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.157e-05/0.5012, allocations: 112.9 kB / 1.032 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.879e-05/0.5013, allocations: 120.8 kB / 1.032 GB, free: 9.309 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.49e-05/0.5014, allocations: 181.8 kB / 1.032 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.646e-05/0.5014, allocations: 176.3 kB / 1.032 GB, free: 8.945 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.517e-05/0.5015, allocations: 188.2 kB / 1.032 GB, free: 8.754 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002654/0.5018, allocations: 417.2 kB / 1.033 GB, free: 8.289 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.672e-05/0.5019, allocations: 104.9 kB / 1.033 GB, free: 8.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.006e-05/0.5019, allocations: 105 kB / 1.033 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.459e-05/0.502, allocations: 184.3 kB / 1.033 GB, free: 7.883 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.432e-05/0.5021, allocations: 188.2 kB / 1.033 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.899e-05/0.5022, allocations: 184.2 kB / 1.033 GB, free: 7.504 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.035e-05/0.5023, allocations: 180.2 kB / 1.033 GB, free: 7.32 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001617/0.5024, allocations: 311.7 kB / 1.034 GB, free: 6.992 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.5025, allocations: 193.9 kB / 1.034 GB, free: 6.777 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.166e-05/0.5026, allocations: 176.3 kB / 1.034 GB, free: 6.598 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.5028, allocations: 108.9 kB / 1.034 GB, free: 6.484 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.5029, allocations: 181.1 kB / 1.034 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.971e-05/0.5029, allocations: 113 kB / 1.034 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.867e-05/0.503, allocations: 123.2 kB / 1.035 GB, free: 6.062 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.21e-07/0.503, allocations: 3.938 kB / 1.035 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002619/0.5033, allocations: 4 kB / 1.035 GB, free: 6.055 MB / 0.6823 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 () * Number of clocked 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.0004746/0.5038, allocations: 0.8127 MB / 1.035 GB, free: 5.215 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.034e-05/0.5039, allocations: 11.98 kB / 1.035 GB, free: 5.203 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5039, allocations: 0 / 1.035 GB, free: 5.203 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.536e-06/0.5039, allocations: 3.938 kB / 1.035 GB, free: 5.199 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.5043, allocations: 0.5283 MB / 1.036 GB, free: 4.668 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007838/0.5051, allocations: 0.5849 MB / 1.036 GB, free: 4.035 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.5054, allocations: 0.6965 MB / 1.037 GB, free: 3.312 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.981e-05/0.5054, allocations: 8 kB / 1.037 GB, free: 3.305 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.161e-05/0.5055, allocations: 19.42 kB / 1.037 GB, free: 3.285 MB / 0.6823 GB Notification: Performance of SimCode: time 2.21e-07/0.5055, allocations: 0 / 1.037 GB, free: 3.285 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01187/0.5173, allocations: 1.377 MB / 1.039 GB, free: 2.074 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001728/0.5176, allocations: 205.1 kB / 1.039 GB, free: 1.824 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.457/1.975, allocations: 3.938 kB / 1.039 GB, free: 1.82 MB / 0.6823 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)