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.462/2.462, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.001344/0.001344, allocations: 168.9 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.578/1.578, allocations: 221.3 MB / 0.7915 GB, free: 5.414 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.001013/0.001013, allocations: 87.95 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.34e-05/3.342e-05, allocations: 0 / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3112, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.175/1.486, allocations: 436.9 MB / 1.645 GB, free: 13.6 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/1.486, allocations: 95.92 kB / 1.646 GB, free: 13.51 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 2.953/4.439, allocations: 0.7824 GB / 2.428 GB, free: 113.4 MB / 1.135 GB Notification: Performance of FrontEnd: time 1.523e-06/4.439, allocations: 0 / 2.428 GB, free: 113.4 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0002331/4.439, allocations: 39.98 kB / 2.428 GB, free: 113.4 MB / 1.135 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.003702/4.443, allocations: 1.747 MB / 2.43 GB, free: 111.6 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/4.443, allocations: 8.031 kB / 2.43 GB, free: 111.6 MB / 1.135 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001685/4.443, allocations: 156.4 kB / 2.43 GB, free: 111.4 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002028/4.445, allocations: 485.5 kB / 2.43 GB, free: 110.9 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00286/4.448, allocations: 1.728 MB / 2.432 GB, free: 109.1 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003239/4.448, allocations: 150.4 kB / 2.432 GB, free: 109 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/4.448, allocations: 104 kB / 2.432 GB, free: 108.9 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001632/4.45, allocations: 1.179 MB / 2.433 GB, free: 107.6 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/4.45, allocations: 11.94 kB / 2.433 GB, free: 107.6 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.05e-05/4.45, allocations: 40 kB / 2.433 GB, free: 107.6 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.164e-05/4.45, allocations: 49.92 kB / 2.433 GB, free: 107.5 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001277/4.451, allocations: 0.8825 MB / 2.434 GB, free: 106.6 MB / 1.135 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.006373/4.458, allocations: 7.02 MB / 2.441 GB, free: 99.15 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002337/4.46, allocations: 0.795 MB / 2.442 GB, free: 98.35 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002941/4.46, allocations: 238.1 kB / 2.442 GB, free: 98.12 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009207/4.461, allocations: 1.73 MB / 2.444 GB, free: 96 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/4.461, allocations: 42.98 kB / 2.444 GB, free: 95.95 MB / 1.135 GB Notification: Performance of pre-optimization done (n=49): time 2.445e-06/4.461, allocations: 0 / 2.444 GB, free: 95.95 MB / 1.135 GB Notification: Performance of matching and sorting (n=49): time 0.001082/4.462, allocations: 0.6474 MB / 2.445 GB, free: 95.29 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.005e-05/4.462, allocations: 59.84 kB / 2.445 GB, free: 95.22 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/4.464, allocations: 1.294 MB / 2.446 GB, free: 93.92 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 4.88e-05/4.464, allocations: 33.7 kB / 2.446 GB, free: 93.88 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003794/4.464, allocations: 0.6732 MB / 2.447 GB, free: 93.2 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.000103/4.464, allocations: 173.5 kB / 2.447 GB, free: 93.03 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.714e-05/4.464, allocations: 12 kB / 2.447 GB, free: 93.02 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 6.461e-05/4.465, allocations: 334 kB / 2.447 GB, free: 92.68 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000344/4.465, allocations: 249.5 kB / 2.447 GB, free: 92.44 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004613/4.465, allocations: 0.5526 MB / 2.448 GB, free: 91.75 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003927/4.466, allocations: 315.4 kB / 2.448 GB, free: 91.45 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/4.466, allocations: 0 / 2.448 GB, free: 91.45 MB / 1.135 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00134/4.467, allocations: 0.9521 MB / 2.449 GB, free: 90.48 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/4.467, allocations: 8 kB / 2.449 GB, free: 90.48 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/4.467, allocations: 11.98 kB / 2.449 GB, free: 90.46 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007361/4.468, allocations: 224.9 kB / 2.449 GB, free: 90.24 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006634/4.469, allocations: 199.7 kB / 2.449 GB, free: 90.05 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005519/4.469, allocations: 0.7279 MB / 2.45 GB, free: 89.29 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001552/4.471, allocations: 254.7 kB / 2.45 GB, free: 89.04 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.103e-05/4.471, allocations: 43.98 kB / 2.45 GB, free: 89 MB / 1.135 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 () * 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.0001365/4.471, allocations: 152.7 kB / 2.451 GB, free: 88.84 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/4.471, allocations: 146.2 kB / 2.451 GB, free: 88.7 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001546/4.473, allocations: 1.073 MB / 2.452 GB, free: 87.61 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/4.473, allocations: 11.98 kB / 2.452 GB, free: 87.6 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/4.473, allocations: 0 / 2.452 GB, free: 87.6 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/4.473, allocations: 0 / 2.452 GB, free: 87.6 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003866/4.477, allocations: 2.487 MB / 2.454 GB, free: 85.03 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/4.477, allocations: 4.031 kB / 2.454 GB, free: 85.03 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000323/4.477, allocations: 87.89 kB / 2.454 GB, free: 84.94 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006237/4.478, allocations: 228.6 kB / 2.455 GB, free: 84.71 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.905e-05/4.478, allocations: 23.98 kB / 2.455 GB, free: 84.69 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004868/4.478, allocations: 0.7201 MB / 2.455 GB, free: 83.95 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/4.478, allocations: 4.031 kB / 2.455 GB, free: 83.94 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002511/4.481, allocations: 1.282 MB / 2.457 GB, free: 82.58 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004575/4.481, allocations: 374.9 kB / 2.457 GB, free: 82.19 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000156/4.481, allocations: 12 kB / 2.457 GB, free: 82.18 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000884/4.482, allocations: 103.8 kB / 2.457 GB, free: 82.08 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.606e-05/4.482, allocations: 48.45 kB / 2.457 GB, free: 82.03 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-05/4.482, allocations: 23.98 kB / 2.457 GB, free: 82.01 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.001136/4.483, allocations: 1.007 MB / 2.458 GB, free: 81 MB / 1.135 GB Notification: Performance of sort global known variables: time 2.51e-07/4.483, allocations: 0 / 2.458 GB, free: 81 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.001404/4.485, allocations: 0.4954 MB / 2.459 GB, free: 80.51 MB / 1.135 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 () * 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.003892/4.489, allocations: 2.941 MB / 2.461 GB, free: 77.5 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.00118/4.49, allocations: 0.6845 MB / 2.462 GB, free: 76.81 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/4.49, allocations: 0 / 2.462 GB, free: 76.81 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0005427/4.491, allocations: 371.5 kB / 2.462 GB, free: 76.45 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002929/4.493, allocations: 0.6997 MB / 2.463 GB, free: 75.76 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003445/4.497, allocations: 1.98 MB / 2.465 GB, free: 73.71 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004765/4.497, allocations: 1.203 MB / 2.466 GB, free: 72.48 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.0009497/4.498, allocations: 260 kB / 2.466 GB, free: 72.22 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005872/4.499, allocations: 0.5461 MB / 2.467 GB, free: 71.68 MB / 1.135 GB Notification: Performance of SimCode: time 4.71e-07/4.499, allocations: 4 kB / 2.467 GB, free: 71.68 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08161/4.581, allocations: 49.55 MB / 2.515 GB, free: 22.56 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002135/4.581, allocations: 232.2 kB / 2.516 GB, free: 22.32 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.479/8.06, allocations: 0 / 2.516 GB, free: 22.32 MB / 1.135 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