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.438/2.438, allocations: 390.5 MB / 398 MB, free: 10.95 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.001034/0.001034, allocations: 175 kB / 491.2 MB, free: 1.609 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.964/1.964, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.001009/0.001009, allocations: 87.69 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.876e-05/1.888e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3156, allocations: 143 MB / 1.212 GB, free: 39.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.259/1.574, allocations: 425 MB / 1.627 GB, free: 5.773 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/1.575, allocations: 90.38 kB / 1.628 GB, free: 5.727 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.526/5.101, allocations: 0.8488 GB / 2.476 GB, free: 154.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.583e-06/5.101, allocations: 0 / 2.476 GB, free: 154.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000254/5.101, allocations: 41.16 kB / 2.476 GB, free: 154.2 MB / 1.151 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.004913/5.106, allocations: 1.717 MB / 2.478 GB, free: 152.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/5.106, allocations: 8.031 kB / 2.478 GB, free: 152.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001338/5.107, allocations: 240.9 kB / 2.478 GB, free: 152.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00424/5.112, allocations: 1.706 MB / 2.48 GB, free: 150.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.676e-05/5.112, allocations: 32 kB / 2.48 GB, free: 150.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000292/5.112, allocations: 60 kB / 2.48 GB, free: 150.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00163/5.114, allocations: 0.699 MB / 2.481 GB, free: 149.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001757/5.115, allocations: 0.8882 MB / 2.482 GB, free: 148.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.18e-05/5.116, allocations: 0 / 2.482 GB, free: 148.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.639e-05/5.116, allocations: 4 kB / 2.482 GB, free: 148.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.078e-05/5.116, allocations: 37.98 kB / 2.482 GB, free: 148.7 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.00695/5.123, allocations: 4.515 MB / 2.486 GB, free: 144.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000867/5.124, allocations: 0.4964 MB / 2.487 GB, free: 143.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003297/5.124, allocations: 260.9 kB / 2.487 GB, free: 143.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005515/5.124, allocations: 0.831 MB / 2.488 GB, free: 142.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/5.125, allocations: 39.12 kB / 2.488 GB, free: 142.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=60): time 4.348e-06/5.125, allocations: 2.281 kB / 2.488 GB, free: 142.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=60): time 0.0016/5.126, allocations: 0.6 MB / 2.488 GB, free: 141.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/5.126, allocations: 55.97 kB / 2.488 GB, free: 141.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001453/5.128, allocations: 0.8909 MB / 2.489 GB, free: 140.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001062/5.128, allocations: 31.11 kB / 2.489 GB, free: 140.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004283/5.128, allocations: 0.6246 MB / 2.49 GB, free: 140 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001915/5.128, allocations: 208.9 kB / 2.49 GB, free: 139.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/5.128, allocations: 0 / 2.49 GB, free: 139.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.154e-05/5.129, allocations: 330 kB / 2.49 GB, free: 139.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002876/5.129, allocations: 195.5 kB / 2.49 GB, free: 139.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004012/5.129, allocations: 408.1 kB / 2.491 GB, free: 138.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006585/5.13, allocations: 276.2 kB / 2.491 GB, free: 138.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/5.13, allocations: 3.953 kB / 2.491 GB, free: 138.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004117/5.134, allocations: 1.144 MB / 2.492 GB, free: 137.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003874/5.134, allocations: 1.325 MB / 2.494 GB, free: 136 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-05/5.134, allocations: 7.938 kB / 2.494 GB, free: 136 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005409/5.135, allocations: 141.9 kB / 2.494 GB, free: 135.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006552/5.136, allocations: 154.2 kB / 2.494 GB, free: 135.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006776/5.136, allocations: 0.7002 MB / 2.495 GB, free: 135 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/5.138, allocations: 118.3 kB / 2.495 GB, free: 134.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001435/5.138, allocations: 35.05 kB / 2.495 GB, free: 134.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/5.138, allocations: 8 kB / 2.495 GB, free: 134.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003839/5.142, allocations: 0.9935 MB / 2.496 GB, free: 133.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/5.142, allocations: 4 kB / 2.496 GB, free: 133.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004171/5.142, allocations: 125 kB / 2.496 GB, free: 133.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005738/5.143, allocations: 155.8 kB / 2.496 GB, free: 133.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000632/5.144, allocations: 0.7045 MB / 2.497 GB, free: 132.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/5.145, allocations: 111.4 kB / 2.497 GB, free: 132.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/5.145, allocations: 35.98 kB / 2.497 GB, free: 132.7 MB / 1.151 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: chi.QEva_flow:VARIABLE(unit = "W" ) "Actual cooling heat flow rate removed from fluid 2" type: Real 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 () * 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.0003133/5.145, allocations: 120.8 kB / 2.497 GB, free: 132.6 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001648/5.147, allocations: 0.5999 MB / 2.497 GB, free: 131.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004427/5.148, allocations: 118.6 kB / 2.498 GB, free: 131.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001785/5.149, allocations: 0.7108 MB / 2.498 GB, free: 131.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.688e-05/5.149, allocations: 8 kB / 2.498 GB, free: 131.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/5.149, allocations: 7.875 kB / 2.498 GB, free: 131.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001016/5.15, allocations: 0.6353 MB / 2.499 GB, free: 130.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00705/5.158, allocations: 2.346 MB / 2.501 GB, free: 128 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/5.158, allocations: 0 / 2.501 GB, free: 128 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005348/5.158, allocations: 128.2 kB / 2.501 GB, free: 127.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004311/5.159, allocations: 124.8 kB / 2.501 GB, free: 127.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.463e-05/5.159, allocations: 11.98 kB / 2.501 GB, free: 127.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005965/5.159, allocations: 0.6929 MB / 2.502 GB, free: 127 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/5.159, allocations: 8.062 kB / 2.502 GB, free: 127 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004646/5.164, allocations: 1.714 MB / 2.504 GB, free: 125.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009246/5.165, allocations: 311.3 kB / 2.504 GB, free: 124.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004017/5.165, allocations: 11.94 kB / 2.504 GB, free: 124.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/5.166, allocations: 63.94 kB / 2.504 GB, free: 124.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/5.167, allocations: 55.78 kB / 2.504 GB, free: 124.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.994e-05/5.167, allocations: 35.97 kB / 2.504 GB, free: 124.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001485/5.168, allocations: 0.6774 MB / 2.505 GB, free: 124 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.71e-07/5.168, allocations: 0 / 2.505 GB, free: 124 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003713/5.172, allocations: 0.7714 MB / 2.506 GB, free: 123.3 MB / 1.151 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 () * 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.0073/5.179, allocations: 3.709 MB / 2.509 GB, free: 119.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002087/5.181, allocations: 0.8937 MB / 2.51 GB, free: 118.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/5.181, allocations: 0 / 2.51 GB, free: 118.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005814/5.182, allocations: 309.5 kB / 2.51 GB, free: 118.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003753/5.186, allocations: 0.5533 MB / 2.511 GB, free: 117.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00608/5.192, allocations: 1.996 MB / 2.513 GB, free: 115.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008786/5.193, allocations: 1.197 MB / 2.514 GB, free: 114.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001953/5.195, allocations: 331.1 kB / 2.514 GB, free: 114.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006444/5.195, allocations: 483.3 kB / 2.515 GB, free: 113.7 MB / 1.151 GB Notification: Performance of SimCode: time 1.793e-06/5.195, allocations: 0 / 2.515 GB, free: 113.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07729/5.273, allocations: 38.52 MB / 2.553 GB, free: 75.76 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001601/5.273, allocations: 175.3 kB / 2.553 GB, free: 75.56 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.478/8.751, allocations: 0 / 2.553 GB, free: 75.56 MB / 1.151 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