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/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 99.78 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002028/0.002028, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.677/2.677, allocations: 223.2 MB / 239.9 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.938/4.938, allocations: 409.2 MB / 0.6838 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007329/0.0007331, allocations: 12 kB / 0.8375 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.668/1.669, allocations: 146.8 MB / 0.9809 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.1179/1.787, allocations: 59.19 MB / 1.039 GB, free: 10.98 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.04208/1.829, allocations: 15.05 MB / 1.053 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005702/1.835, allocations: 59.56 kB / 1.053 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.005494/1.841, allocations: 0.6996 MB / 1.054 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.01639/1.857, allocations: 2.309 MB / 1.056 GB, free: 8.812 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.009554/1.867, allocations: 1.546 MB / 1.058 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.00958/1.876, allocations: 2.293 MB / 1.06 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00388/1.88, allocations: 1.03 MB / 1.061 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007021/1.887, allocations: 1.257 MB / 1.062 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004217/1.892, allocations: 0.7817 MB / 1.063 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0006836/1.892, allocations: 60 kB / 1.063 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005648/1.898, allocations: 0.9752 MB / 1.064 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0007811/1.899, allocations: 242.9 kB / 1.064 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001404/1.9, allocations: 372.9 kB / 1.065 GB, free: 256 kB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.007187/1.908, allocations: 2.275 MB / 1.067 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/1.908, allocations: 0 / 1.067 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.328e-06/1.908, allocations: 0 / 1.067 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001029/1.908, allocations: 0 / 1.067 GB, free: 13.97 MB / 0.8262 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.00763/1.915, allocations: 1.723 MB / 1.069 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 8.997e-05/1.916, allocations: 12.03 kB / 1.069 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001055/1.917, allocations: 152.4 kB / 1.069 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004346/1.921, allocations: 0.4976 MB / 1.069 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006223/1.927, allocations: 1.423 MB / 1.071 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007432/1.928, allocations: 150 kB / 1.071 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006553/1.929, allocations: 104 kB / 1.071 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005353/1.934, allocations: 1.314 MB / 1.072 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.244e-05/1.934, allocations: 7.875 kB / 1.072 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001971/1.935, allocations: 44 kB / 1.072 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.268e-05/1.935, allocations: 24 kB / 1.072 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005196/1.94, allocations: 1.151 MB / 1.073 GB, free: 7.156 MB / 0.8262 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.01912/1.959, allocations: 7.219 MB / 1.08 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006524/1.966, allocations: 0.8969 MB / 1.081 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002855/1.969, allocations: 1.718 MB / 1.083 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.619e-05/1.969, allocations: 35 kB / 1.083 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=48): time 5.029e-06/1.969, allocations: 0 / 1.083 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of matching and sorting (n=48): time 0.008468/1.977, allocations: 1.44 MB / 1.084 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/1.977, allocations: 59.84 kB / 1.084 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006989/1.984, allocations: 1.544 MB / 1.086 GB, free: 9.293 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.000368/1.985, allocations: 37.7 kB / 1.086 GB, free: 9.25 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.001381/1.986, allocations: 0.6729 MB / 1.087 GB, free: 8.57 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005192/1.987, allocations: 169.6 kB / 1.087 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/1.987, allocations: 16 kB / 1.087 GB, free: 8.387 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002369/1.987, allocations: 334 kB / 1.087 GB, free: 8.055 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006136/1.993, allocations: 385.8 kB / 1.088 GB, free: 7.676 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002318/1.996, allocations: 0.6549 MB / 1.088 GB, free: 6.906 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002288/1.998, allocations: 441.9 kB / 1.089 GB, free: 6.477 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.778e-05/1.998, allocations: 4 kB / 1.089 GB, free: 6.473 MB / 0.8419 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.01097/2.009, allocations: 1.22 MB / 1.09 GB, free: 5.238 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.625e-05/2.009, allocations: 8 kB / 1.09 GB, free: 5.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-05/2.009, allocations: 4 kB / 1.09 GB, free: 5.227 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001696/2.011, allocations: 236.9 kB / 1.09 GB, free: 4.992 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005647/2.017, allocations: 191.7 kB / 1.09 GB, free: 4.805 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001785/2.019, allocations: 0.7241 MB / 1.091 GB, free: 4.055 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007682/2.026, allocations: 266.7 kB / 1.091 GB, free: 3.793 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004081/2.027, allocations: 43.98 kB / 1.091 GB, free: 3.75 MB / 0.8419 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 (78): * Single equations (assignments): 77 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.002042/2.029, allocations: 357.5 kB / 1.092 GB, free: 3.391 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008315/2.03, allocations: 146.1 kB / 1.092 GB, free: 3.246 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00951/2.039, allocations: 1.172 MB / 1.093 GB, free: 2.059 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.451e-05/2.039, allocations: 8 kB / 1.093 GB, free: 2.051 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.716e-05/2.04, allocations: 0 / 1.093 GB, free: 2.051 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.553e-05/2.04, allocations: 7.938 kB / 1.093 GB, free: 2.043 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01561/2.055, allocations: 2.596 MB / 1.095 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-05/2.055, allocations: 0 / 1.095 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006949/2.056, allocations: 100.1 kB / 1.095 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001393/2.057, allocations: 224.6 kB / 1.096 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-05/2.057, allocations: 19.94 kB / 1.096 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002154/2.06, allocations: 0.802 MB / 1.096 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/2.06, allocations: 0 / 1.096 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006164/2.066, allocations: 1.373 MB / 1.098 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001606/2.068, allocations: 374.9 kB / 1.098 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004592/2.072, allocations: 23.92 kB / 1.098 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002201/2.074, allocations: 107.8 kB / 1.098 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002327/2.075, allocations: 44.45 kB / 1.098 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001591/2.075, allocations: 31.98 kB / 1.098 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.004028/2.079, allocations: 1.082 MB / 1.099 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7.71e-07/2.079, allocations: 0 / 1.099 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.003182/2.082, allocations: 439.4 kB / 1.1 GB, free: 10.64 MB / 0.8575 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 (52): * Single equations (assignments): 41 * 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 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.00872/2.091, allocations: 2.674 MB / 1.102 GB, free: 7.91 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.008667/2.1, allocations: 0.8718 MB / 1.103 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.24e-05/2.1, allocations: 8 kB / 1.103 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002198/2.102, allocations: 475.5 kB / 1.104 GB, free: 6.566 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006575/2.109, allocations: 0.6849 MB / 1.104 GB, free: 5.891 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01557/2.124, allocations: 8.492 MB / 1.113 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001429/2.126, allocations: 1.203 MB / 1.114 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.002469/2.128, allocations: 259.9 kB / 1.114 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001321/2.13, allocations: 0.5422 MB / 1.115 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of SimCode: time 1.693e-06/2.13, allocations: 4 kB / 1.115 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1866/2.316, allocations: 42.44 MB / 1.156 GB, free: 1.145 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005154/2.317, allocations: 259.9 kB / 1.156 GB, free: 0.7812 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.583/7.9, allocations: 4 kB / 1.156 GB, free: 0.7773 MB / 0.9044 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) Environment - environmentSimulation: 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