Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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_TEva_2ndLaw,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",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.492/2.492, allocations: 393.5 MB / 408.4 MB, free: 10.96 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.001191/0.001191, allocations: 186.8 kB / 0.4901 GB, free: 2.25 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.645/1.645, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.001014/0.001014, allocations: 104.3 kB / 0.9396 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005241/0.0005242, allocations: 7 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3772, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.193/1.571, allocations: 436.9 MB / 1.656 GB, free: 9.262 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003103/1.571, allocations: 90.33 kB / 1.656 GB, free: 9.215 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.162/4.733, allocations: 0.7849 GB / 2.441 GB, free: 240.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.004e-06/4.733, allocations: 0 / 2.441 GB, free: 240.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001785/4.733, allocations: 47.12 kB / 2.441 GB, free: 240.3 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.005653/4.739, allocations: 2.034 MB / 2.443 GB, free: 239.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/4.739, allocations: 11.72 kB / 2.443 GB, free: 239.4 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004133/4.739, allocations: 157.2 kB / 2.443 GB, free: 239.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002495/4.742, allocations: 476.5 kB / 2.444 GB, free: 239.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004617/4.747, allocations: 1.748 MB / 2.445 GB, free: 238.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005271/4.747, allocations: 146.6 kB / 2.445 GB, free: 238.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003264/4.747, allocations: 104.4 kB / 2.445 GB, free: 238.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003567/4.751, allocations: 1.312 MB / 2.447 GB, free: 238.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.903e-05/4.751, allocations: 8.812 kB / 2.447 GB, free: 238.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001392/4.751, allocations: 53.2 kB / 2.447 GB, free: 238.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-05/4.751, allocations: 37.5 kB / 2.447 GB, free: 238.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00364/4.755, allocations: 1.144 MB / 2.448 GB, free: 238.7 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.01274/4.768, allocations: 6.988 MB / 2.455 GB, free: 234.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003146/4.771, allocations: 0.9025 MB / 2.456 GB, free: 234.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00104/4.772, allocations: 1.735 MB / 2.457 GB, free: 232.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/4.772, allocations: 35.56 kB / 2.457 GB, free: 232.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=49): time 2.715e-06/4.772, allocations: 3.469 kB / 2.457 GB, free: 232.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=49): time 0.005253/4.777, allocations: 1.503 MB / 2.459 GB, free: 232.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/4.777, allocations: 62.11 kB / 2.459 GB, free: 232.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003219/4.781, allocations: 1.371 MB / 2.46 GB, free: 232.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001475/4.781, allocations: 37.39 kB / 2.46 GB, free: 232.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000659/4.781, allocations: 0.6757 MB / 2.461 GB, free: 232.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002156/4.782, allocations: 171.4 kB / 2.461 GB, free: 232.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.507e-05/4.782, allocations: 11.75 kB / 2.461 GB, free: 232.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.777e-05/4.782, allocations: 334 kB / 2.461 GB, free: 231.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009592/4.783, allocations: 378.2 kB / 2.462 GB, free: 231.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001157/4.784, allocations: 0.6804 MB / 2.462 GB, free: 231.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/4.785, allocations: 433.7 kB / 2.463 GB, free: 231.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.215e-06/4.785, allocations: 7.969 kB / 2.463 GB, free: 231.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003201/4.788, allocations: 1.21 MB / 2.464 GB, free: 231.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/4.788, allocations: 9.562 kB / 2.464 GB, free: 231.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/4.788, allocations: 7.281 kB / 2.464 GB, free: 231.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001075/4.789, allocations: 261.4 kB / 2.464 GB, free: 231.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007496/4.79, allocations: 194 kB / 2.465 GB, free: 231.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009198/4.791, allocations: 0.7742 MB / 2.465 GB, free: 230.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002148/4.793, allocations: 265.9 kB / 2.466 GB, free: 230.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001576/4.793, allocations: 35.7 kB / 2.466 GB, free: 230.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (73): * Single equations (assignments): 72 * 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 {2 9} Notification: Performance of prepare postOptimizeDAE: time 0.0009733/4.794, allocations: 369.8 kB / 2.466 GB, free: 230.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005184/4.795, allocations: 145.4 kB / 2.466 GB, free: 230.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00298/4.798, allocations: 1.197 MB / 2.467 GB, free: 230.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.107e-05/4.798, allocations: 12.19 kB / 2.467 GB, free: 230.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/4.798, allocations: 3.953 kB / 2.467 GB, free: 230.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/4.798, allocations: 3.094 kB / 2.467 GB, free: 230.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006379/4.804, allocations: 2.629 MB / 2.47 GB, free: 229.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.739e-06/4.804, allocations: 0 / 2.47 GB, free: 229.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003564/4.805, allocations: 89.09 kB / 2.47 GB, free: 229.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009427/4.806, allocations: 262 kB / 2.47 GB, free: 229.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.826e-05/4.806, allocations: 19.67 kB / 2.47 GB, free: 229.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008319/4.807, allocations: 0.7724 MB / 2.471 GB, free: 229.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/4.807, allocations: 3.062 kB / 2.471 GB, free: 229.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003541/4.81, allocations: 1.422 MB / 2.472 GB, free: 229 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009585/4.811, allocations: 372.1 kB / 2.473 GB, free: 228.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004743/4.812, allocations: 11.47 kB / 2.473 GB, free: 228.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/4.813, allocations: 104.5 kB / 2.473 GB, free: 228.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/4.813, allocations: 43.23 kB / 2.473 GB, free: 228.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.681e-05/4.813, allocations: 24.91 kB / 2.473 GB, free: 228.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002373/4.816, allocations: 1.084 MB / 2.474 GB, free: 228.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/4.816, allocations: 0 / 2.474 GB, free: 228.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002278/4.818, allocations: 0.4965 MB / 2.474 GB, free: 228.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (51): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 {2 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.005565/4.824, allocations: 3.096 MB / 2.477 GB, free: 227.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002317/4.826, allocations: 0.8634 MB / 2.478 GB, free: 227.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/4.826, allocations: 6.562 kB / 2.478 GB, free: 227.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008969/4.827, allocations: 422.6 kB / 2.479 GB, free: 227.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003956/4.831, allocations: 0.6902 MB / 2.479 GB, free: 227.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02663/4.858, allocations: 13.26 MB / 2.492 GB, free: 219.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001202/4.859, allocations: 1.199 MB / 2.493 GB, free: 218.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002238/4.861, allocations: 266.1 kB / 2.494 GB, free: 218.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001244/4.862, allocations: 0.5502 MB / 2.494 GB, free: 218.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.513e-06/4.862, allocations: 3.594 kB / 2.494 GB, free: 218.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08626/4.949, allocations: 49.11 MB / 2.542 GB, free: 209.1 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000182/4.949, allocations: 258.2 kB / 2.542 GB, free: 208.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.542/8.491, allocations: 0 / 2.542 GB, free: 208.8 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat does not exist to compare? outputFormat=mat