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.0008815/0.0008815, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0009971/0.0009971, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 223.2 MB / 240 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.478/2.478, allocations: 409.4 MB / 0.684 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003556/0.0003557, allocations: 8 kB / 0.8378 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7996/0.8, allocations: 146.8 MB / 0.9811 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.05907/0.8591, allocations: 65.13 MB / 1.045 GB, free: 4.984 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.02308/0.8822, allocations: 17.7 MB / 1.062 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002679/0.8849, allocations: 59.62 kB / 1.062 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002144/0.8871, allocations: 0.5121 MB / 1.063 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.007324/0.8944, allocations: 2.098 MB / 1.065 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.004113/0.8986, allocations: 1.091 MB / 1.066 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.00739/0.906, allocations: 4.381 MB / 1.07 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003393/0.9094, allocations: 1.026 MB / 1.071 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005791/0.9153, allocations: 1.33 MB / 1.072 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003706/0.9191, allocations: 1.038 MB / 1.073 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0007529/0.9198, allocations: 56 kB / 1.073 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004285/0.9242, allocations: 0.916 MB / 1.074 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0006498/0.9248, allocations: 242.8 kB / 1.074 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001145/0.926, allocations: 372.9 kB / 1.075 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.004002/0.93, allocations: 2.295 MB / 1.077 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.93, allocations: 0 / 1.077 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.795e-06/0.93, allocations: 0 / 1.077 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.136e-05/0.9301, allocations: 0 / 1.077 GB, free: 3.777 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.004215/0.9344, allocations: 1.719 MB / 1.079 GB, free: 1.996 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.9344, allocations: 11.97 kB / 1.079 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003611/0.9348, allocations: 152.4 kB / 1.079 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002319/0.9371, allocations: 0.4976 MB / 1.079 GB, free: 1.328 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003156/0.9403, allocations: 1.463 MB / 1.081 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003824/0.9407, allocations: 146 kB / 1.081 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002423/0.9409, allocations: 108 kB / 1.081 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002777/0.9437, allocations: 1.313 MB / 1.082 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.771e-05/0.9438, allocations: 7.938 kB / 1.082 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.9439, allocations: 40 kB / 1.082 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.575e-05/0.9439, allocations: 28 kB / 1.082 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002721/0.9466, allocations: 1.151 MB / 1.084 GB, free: 12.93 MB / 0.8419 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.008446/0.9551, allocations: 7.176 MB / 1.091 GB, free: 5.258 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00294/0.958, allocations: 0.8851 MB / 1.091 GB, free: 4.363 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005883/0.9587, allocations: 309.9 kB / 1.092 GB, free: 4.059 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001283/0.96, allocations: 1.73 MB / 1.093 GB, free: 1.941 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.96, allocations: 35 kB / 1.093 GB, free: 1.898 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=48): time 2.564e-06/0.96, allocations: 0 / 1.093 GB, free: 1.898 MB / 0.8419 GB Notification: Performance of matching and sorting (n=48): time 0.004591/0.9646, allocations: 1.448 MB / 1.095 GB, free: 428 kB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.9647, allocations: 55.84 kB / 1.095 GB, free: 360 kB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002676/0.9674, allocations: 1.525 MB / 1.096 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.453e-05/0.9674, allocations: 37.7 kB / 1.096 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005957/0.968, allocations: 0.6613 MB / 1.097 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001764/0.9682, allocations: 173.6 kB / 1.097 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.379e-05/0.9683, allocations: 16 kB / 1.097 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.9684, allocations: 334 kB / 1.098 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009503/0.9694, allocations: 385.8 kB / 1.098 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001165/0.9705, allocations: 0.6627 MB / 1.099 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.9716, allocations: 441.9 kB / 1.099 GB, free: 12 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.9716, allocations: 0 / 1.099 GB, free: 12 MB / 0.8575 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002865/0.9745, allocations: 1.22 MB / 1.1 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.9745, allocations: 8 kB / 1.1 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.9746, allocations: 8 kB / 1.1 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00087/0.9754, allocations: 225 kB / 1.1 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007327/0.9762, allocations: 195.7 kB / 1.101 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008548/0.977, allocations: 0.728 MB / 1.101 GB, free: 9.582 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/0.9787, allocations: 262.8 kB / 1.102 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/0.9788, allocations: 39.94 kB / 1.102 GB, free: 9.285 MB / 0.8575 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.0006656/0.9795, allocations: 355.1 kB / 1.102 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003147/0.9798, allocations: 150.1 kB / 1.102 GB, free: 8.781 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00247/0.9823, allocations: 1.172 MB / 1.103 GB, free: 7.594 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.926e-05/0.9823, allocations: 15.92 kB / 1.103 GB, free: 7.578 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.9823, allocations: 3.953 kB / 1.103 GB, free: 7.574 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.9823, allocations: 3.984 kB / 1.103 GB, free: 7.57 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005267/0.9876, allocations: 2.584 MB / 1.106 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/0.9876, allocations: 4 kB / 1.106 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003633/0.988, allocations: 92.06 kB / 1.106 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007596/0.9888, allocations: 232.5 kB / 1.106 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.972e-05/0.9888, allocations: 19.95 kB / 1.106 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001204/0.9901, allocations: 0.7982 MB / 1.107 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.9901, allocations: 0 / 1.107 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00324/0.9933, allocations: 1.285 MB / 1.108 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008312/0.9942, allocations: 374.8 kB / 1.108 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003622/0.9945, allocations: 12 kB / 1.108 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/0.9956, allocations: 103.8 kB / 1.109 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.905e-05/0.9957, allocations: 48.39 kB / 1.109 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.265e-05/0.9958, allocations: 23.98 kB / 1.109 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002231/0.9981, allocations: 1.074 MB / 1.11 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9981, allocations: 0 / 1.11 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001499/0.9996, allocations: 431.4 kB / 1.11 GB, free: 356 kB / 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.004314/1.004, allocations: 2.174 MB / 1.112 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002118/1.006, allocations: 0.8796 MB / 1.113 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/1.006, allocations: 3.938 kB / 1.113 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001189/1.007, allocations: 475.5 kB / 1.114 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003525/1.011, allocations: 0.6957 MB / 1.114 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02486/1.036, allocations: 8.949 MB / 1.123 GB, free: 2.707 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000922/1.037, allocations: 1.168 MB / 1.124 GB, free: 1.512 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001478/1.038, allocations: 278.6 kB / 1.124 GB, free: 1.238 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008712/1.039, allocations: 0.5461 MB / 1.125 GB, free: 0.6914 MB / 0.8731 GB Notification: Performance of SimCode: time 8.21e-07/1.039, allocations: 0 / 1.125 GB, free: 0.6914 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07449/1.114, allocations: 42.93 MB / 1.167 GB, free: 6.316 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002273/1.114, allocations: 265.1 kB / 1.167 GB, free: 5.953 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.816/3.93, allocations: 3.938 kB / 1.167 GB, free: 5.949 MB / 0.92 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