Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.353/2.353, allocations: 393.5 MB / 408.4 MB, free: 11.05 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 194.6 kB / 0.4902 GB, free: 2.223 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 223.1 MB / 0.7992 GB, free: 14.66 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 98.38 kB / 0.9396 GB, free: 1.812 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003734/0.0003734, allocations: 10.34 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3384, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.148/1.486, allocations: 425.7 MB / 1.645 GB, free: 4.133 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/1.486, allocations: 92.48 kB / 1.645 GB, free: 4.086 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.14/4.626, allocations: 0.8552 GB / 2.5 GB, free: 241.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.875e-06/4.627, allocations: 0 / 2.5 GB, free: 241.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003968/4.627, allocations: 42.7 kB / 2.5 GB, free: 241.1 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.008844/4.636, allocations: 1.986 MB / 2.502 GB, free: 240.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.938e-05/4.636, allocations: 11.53 kB / 2.502 GB, free: 240.2 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008053/4.637, allocations: 152.5 kB / 2.502 GB, free: 240.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001715/4.639, allocations: 233.4 kB / 2.503 GB, free: 240.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005282/4.644, allocations: 1.722 MB / 2.504 GB, free: 239.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/4.644, allocations: 81.66 kB / 2.504 GB, free: 239.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003939/4.644, allocations: 97.81 kB / 2.505 GB, free: 239.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003124/4.648, allocations: 1.096 MB / 2.506 GB, free: 239.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.642e-05/4.648, allocations: 6.844 kB / 2.506 GB, free: 239.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001736/4.648, allocations: 45.72 kB / 2.506 GB, free: 239.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.72e-05/4.648, allocations: 39.14 kB / 2.506 GB, free: 239.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002305/4.65, allocations: 0.9057 MB / 2.507 GB, free: 239 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00831/4.659, allocations: 4.745 MB / 2.511 GB, free: 235.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001318/4.66, allocations: 0.6218 MB / 2.512 GB, free: 234.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005228/4.66, allocations: 0.8282 MB / 2.513 GB, free: 233.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/4.66, allocations: 43.09 kB / 2.513 GB, free: 233.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=60): time 3.256e-06/4.66, allocations: 3.391 kB / 2.513 GB, free: 233.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=60): time 0.005061/4.666, allocations: 1.508 MB / 2.514 GB, free: 233.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/4.666, allocations: 55.47 kB / 2.514 GB, free: 233.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002385/4.668, allocations: 1.112 MB / 2.515 GB, free: 232.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001327/4.668, allocations: 42.64 kB / 2.515 GB, free: 232.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006023/4.669, allocations: 0.6271 MB / 2.516 GB, free: 231.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002147/4.669, allocations: 210.6 kB / 2.516 GB, free: 231.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.162e-05/4.669, allocations: 12 kB / 2.516 GB, free: 231.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.975e-05/4.669, allocations: 336.5 kB / 2.516 GB, free: 231.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006253/4.67, allocations: 278.7 kB / 2.517 GB, free: 231.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007738/4.671, allocations: 0.4942 MB / 2.517 GB, free: 230.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006886/4.671, allocations: 337.1 kB / 2.518 GB, free: 230.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.064e-06/4.671, allocations: 6.719 kB / 2.518 GB, free: 230.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004789/4.676, allocations: 1.349 MB / 2.519 GB, free: 230.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000327/4.676, allocations: 1.334 MB / 2.52 GB, free: 228.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/4.676, allocations: 3.969 kB / 2.52 GB, free: 228.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007735/4.677, allocations: 175 kB / 2.52 GB, free: 228.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006708/4.678, allocations: 155.9 kB / 2.52 GB, free: 228.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008181/4.679, allocations: 0.7358 MB / 2.521 GB, free: 228 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/4.68, allocations: 168.5 kB / 2.521 GB, free: 227.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001341/4.681, allocations: 39.92 kB / 2.521 GB, free: 227.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/4.681, allocations: 3.875 kB / 2.521 GB, free: 227.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004409/4.685, allocations: 1.199 MB / 2.523 GB, free: 227.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/4.685, allocations: 3.719 kB / 2.523 GB, free: 227.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006353/4.686, allocations: 175.3 kB / 2.523 GB, free: 227.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006069/4.686, allocations: 153.2 kB / 2.523 GB, free: 227.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007539/4.687, allocations: 0.7398 MB / 2.524 GB, free: 226.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/4.689, allocations: 144.2 kB / 2.524 GB, free: 226.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/4.689, allocations: 39.7 kB / 2.524 GB, free: 226.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (71): * Single equations (assignments): 70 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0008852/4.69, allocations: 422.2 kB / 2.524 GB, free: 226.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004434/4.69, allocations: 132.4 kB / 2.524 GB, free: 226.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002278/4.692, allocations: 0.9409 MB / 2.525 GB, free: 225.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.797e-05/4.692, allocations: 12.56 kB / 2.525 GB, free: 225.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/4.692, allocations: 3.75 kB / 2.525 GB, free: 225.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001474/4.694, allocations: 0.8215 MB / 2.526 GB, free: 225.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007139/4.701, allocations: 2.696 MB / 2.529 GB, free: 223.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/4.701, allocations: 0 / 2.529 GB, free: 223.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005202/4.702, allocations: 124.2 kB / 2.529 GB, free: 223.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006157/4.702, allocations: 162.4 kB / 2.529 GB, free: 223.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-05/4.702, allocations: 22.34 kB / 2.529 GB, free: 223.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006949/4.703, allocations: 0.7244 MB / 2.53 GB, free: 222.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/4.703, allocations: 5.344 kB / 2.53 GB, free: 222.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005373/4.708, allocations: 2.026 MB / 2.532 GB, free: 221.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00092/4.709, allocations: 328.7 kB / 2.532 GB, free: 221.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004772/4.71, allocations: 14.38 kB / 2.532 GB, free: 221.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/4.711, allocations: 91.55 kB / 2.532 GB, free: 221.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/4.711, allocations: 54.61 kB / 2.532 GB, free: 221.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.77e-05/4.711, allocations: 34.19 kB / 2.532 GB, free: 221.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001783/4.713, allocations: 0.8933 MB / 2.533 GB, free: 220.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.7e-07/4.713, allocations: 3.406 kB / 2.533 GB, free: 220.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003152/4.716, allocations: 0.7757 MB / 2.534 GB, free: 220.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.007037/4.723, allocations: 4.006 MB / 2.538 GB, free: 217.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002431/4.726, allocations: 1.105 MB / 2.539 GB, free: 217.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.259e-06/4.726, allocations: 0 / 2.539 GB, free: 217.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007951/4.727, allocations: 406 kB / 2.539 GB, free: 217.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003377/4.73, allocations: 0.7507 MB / 2.54 GB, free: 216.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01897/4.749, allocations: 10.46 MB / 2.55 GB, free: 209.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001295/4.75, allocations: 1.196 MB / 2.551 GB, free: 208.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001983/4.752, allocations: 299.4 kB / 2.552 GB, free: 208.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008577/4.753, allocations: 0.5149 MB / 2.552 GB, free: 208 MB / 1.167 GB Notification: Performance of SimCode: time 1.733e-06/4.753, allocations: 0 / 2.552 GB, free: 208 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0702/4.823, allocations: 46.81 MB / 2.598 GB, free: 162.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001698/4.824, allocations: 256.5 kB / 2.598 GB, free: 162.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.128/8.952, allocations: 4.156 kB / 2.598 GB, free: 162.3 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL_res.mat does not exist to compare? outputFormat=mat