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.628/1.628, allocations: 289.9 MB / 297.4 MB, free: 6.359 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.001401/0.001401, allocations: 176.8 kB / 366.7 MB, free: 1.645 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.861/1.861, allocations: 205.3 MB / 0.626 GB, free: 7.152 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.0009187/0.0009189, allocations: 82.78 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.361e-05/3.36e-05, allocations: 8 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7924/0.7924, allocations: 116.3 MB / 0.9734 GB, free: 76.02 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2021/0.9946, allocations: 137.8 MB / 1.108 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002145/0.9948, allocations: 67.95 kB / 1.108 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.002318/0.9972, allocations: 0.8055 MB / 1.109 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.174e-06/0.9972, allocations: 0 / 1.109 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.566e-05/0.9973, allocations: 0.5312 kB / 1.109 GB, free: 11.46 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004932/0.9978, allocations: 353.9 kB / 1.109 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.844e-05/0.9978, allocations: 8.031 kB / 1.109 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.512e-05/0.9979, allocations: 14.2 kB / 1.109 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.998, allocations: 177.5 kB / 1.109 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.9981, allocations: 0 / 1.109 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.9981, allocations: 4.562 kB / 1.109 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.154e-05/0.9982, allocations: 15.83 kB / 1.109 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.15e-05/0.9983, allocations: 46.16 kB / 1.109 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.9983, allocations: 0.5 kB / 1.109 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.9983, allocations: 4.562 kB / 1.109 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.9983, allocations: 0.9062 kB / 1.109 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005493/0.9989, allocations: 290.9 kB / 1.11 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.768e-05/0.999, allocations: 26.58 kB / 1.11 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.54e-05/0.999, allocations: 16.86 kB / 1.11 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.9991, allocations: 0 / 1.11 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.9991, allocations: 39.25 kB / 1.11 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 2.385e-06/0.9991, allocations: 3.438 kB / 1.11 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001747/0.9993, allocations: 45.78 kB / 1.11 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.9993, allocations: 51.41 kB / 1.11 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.739e-05/0.9994, allocations: 97 kB / 1.11 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.9994, allocations: 25.7 kB / 1.11 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.081e-05/0.9995, allocations: 92.12 kB / 1.11 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.9995, allocations: 7.812 kB / 1.11 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/0.9996, allocations: 1.594 kB / 1.11 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.9997, allocations: 323.4 kB / 1.11 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.638e-05/0.9998, allocations: 10.47 kB / 1.11 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.281e-05/0.9998, allocations: 11.98 kB / 1.11 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.642e-05/0.9999, allocations: 4 kB / 1.11 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.9999, allocations: 0 / 1.11 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.361e-05/1, allocations: 53.64 kB / 1.11 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/1, allocations: 9.078 kB / 1.11 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/1, allocations: 5.75 kB / 1.11 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/1, allocations: 0 / 1.11 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/1, allocations: 19.98 kB / 1.11 GB, free: 9.574 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.83e-06/1, allocations: 0 / 1.11 GB, free: 9.574 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.14e-05/1, allocations: 19.98 kB / 1.11 GB, free: 9.555 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-06/1, allocations: 0 / 1.11 GB, free: 9.555 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 (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 7.326e-05/1, allocations: 108.9 kB / 1.111 GB, free: 9.441 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.859e-05/1, allocations: 53.59 kB / 1.111 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.314e-05/1.001, allocations: 4 kB / 1.111 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001303/1.001, allocations: 64.39 kB / 1.111 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/1.001, allocations: 3.234 kB / 1.111 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/1.001, allocations: 0 / 1.111 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/1.001, allocations: 7.984 kB / 1.111 GB, free: 9.297 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/1.001, allocations: 146.2 kB / 1.111 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/1.001, allocations: 0 / 1.111 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/1.001, allocations: 19.98 kB / 1.111 GB, free: 9.098 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/1.001, allocations: 3.984 kB / 1.111 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/1.001, allocations: 0 / 1.111 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/1.001, allocations: 0 / 1.111 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.001, allocations: 0 / 1.111 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/1.001, allocations: 163.3 kB / 1.111 GB, free: 8.918 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.732e-05/1.001, allocations: 77.11 kB / 1.111 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/1.001, allocations: 4 kB / 1.111 GB, free: 8.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/1.001, allocations: 11.98 kB / 1.111 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.713e-05/1.001, allocations: 10.11 kB / 1.111 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/1.001, allocations: 4 kB / 1.111 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.94e-05/1.001, allocations: 87.28 kB / 1.111 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.4e-07/1.001, allocations: 0 / 1.111 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000251/1.002, allocations: 7.938 kB / 1.111 GB, free: 8.703 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 (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.0004505/1.002, allocations: 0.6838 MB / 1.112 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000102/1.002, allocations: 31.92 kB / 1.112 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/1.002, allocations: 0 / 1.112 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.276e-05/1.002, allocations: 12 kB / 1.112 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/1.003, allocations: 7.984 kB / 1.112 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004029/1.003, allocations: 101.5 kB / 1.112 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/1.003, allocations: 0.6807 MB / 1.113 GB, free: 7.105 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.033e-05/1.003, allocations: 8 kB / 1.113 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.305e-05/1.003, allocations: 19.42 kB / 1.113 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of SimCode: time 3.51e-07/1.003, allocations: 0 / 1.113 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02055/1.024, allocations: 0.9502 MB / 1.114 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001824/1.024, allocations: 142.7 kB / 1.114 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.53/2.555, allocations: 4 kB / 1.114 GB, free: 5.977 MB / 0.7136 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)