Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.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_HighTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_HighTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_HighTemperature",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.0008486/0.0008489, allocations: 91.22 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.0009694/0.0009694, 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.496/1.496, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.51/2.51, allocations: 409.4 MB / 0.684 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003611/0.0003612, allocations: 16 kB / 0.8378 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8149/0.8153, allocations: 146.8 MB / 0.9811 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature): time 0.05033/0.8656, allocations: 56.57 MB / 1.036 GB, free: 13.54 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0153/0.881, allocations: 11.24 MB / 1.047 GB, free: 2.266 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002323/0.8834, allocations: 47.69 kB / 1.047 GB, free: 2.219 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001733/0.8851, allocations: 460.8 kB / 1.048 GB, free: 1.766 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.005205/0.8903, allocations: 1.546 MB / 1.049 GB, free: 220 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002911/0.8932, allocations: 0.8588 MB / 1.05 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.00545/0.8987, allocations: 3.405 MB / 1.054 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002032/0.9008, allocations: 0.795 MB / 1.054 GB, free: 11.13 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003723/0.9045, allocations: 1.046 MB / 1.055 GB, free: 10.08 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001905/0.9065, allocations: 0.8127 MB / 1.056 GB, free: 9.266 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0003373/0.9068, allocations: 48 kB / 1.056 GB, free: 9.219 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003205/0.91, allocations: 1.095 MB / 1.057 GB, free: 8.121 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0003152/0.9104, allocations: 203 kB / 1.057 GB, free: 7.922 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0006209/0.911, allocations: 289 kB / 1.058 GB, free: 7.633 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002412/0.9134, allocations: 1.644 MB / 1.059 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 1.053e-05/0.9134, allocations: 4 kB / 1.059 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.224e-06/0.9134, allocations: 0 / 1.059 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.563e-05/0.9135, allocations: 0 / 1.059 GB, free: 5.98 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002877/0.9163, allocations: 1.524 MB / 1.061 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/0.9164, allocations: 8.031 kB / 1.061 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001514/0.9166, allocations: 122.8 kB / 1.061 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002004/0.9186, allocations: 481.8 kB / 1.061 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002223/0.9208, allocations: 1.09 MB / 1.062 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003186/0.9211, allocations: 125.9 kB / 1.063 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.9213, allocations: 87.89 kB / 1.063 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001975/0.9232, allocations: 1.025 MB / 1.064 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.9233, allocations: 4 kB / 1.064 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.923e-05/0.9234, allocations: 36 kB / 1.064 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.065e-05/0.9234, allocations: 16 kB / 1.064 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002331/0.9257, allocations: 0.9406 MB / 1.065 GB, free: 380 kB / 0.8106 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.006715/0.9325, allocations: 4.901 MB / 1.069 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003141/0.9356, allocations: 0.9182 MB / 1.07 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007328/0.9364, allocations: 342.1 kB / 1.071 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007674/0.9371, allocations: 0.9025 MB / 1.071 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.9372, allocations: 34.56 kB / 1.072 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=44): time 2.424e-06/0.9372, allocations: 0 / 1.072 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44): time 0.005816/0.943, allocations: 1.836 MB / 1.073 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.9431, allocations: 55.41 kB / 1.073 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001586/0.9447, allocations: 1.056 MB / 1.074 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.729e-05/0.9447, allocations: 37.7 kB / 1.074 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004479/0.9452, allocations: 0.5196 MB / 1.075 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.9453, allocations: 157.8 kB / 1.075 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.9454, allocations: 12 kB / 1.075 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.9455, allocations: 333.9 kB / 1.075 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008532/0.9464, allocations: 340.8 kB / 1.076 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/0.9474, allocations: 0.5333 MB / 1.076 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009021/0.9484, allocations: 371.7 kB / 1.077 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.9484, allocations: 4 kB / 1.077 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003348/0.9517, allocations: 1.245 MB / 1.078 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002308/0.952, allocations: 213.3 kB / 1.078 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.952, allocations: 4 kB / 1.078 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001179/0.9532, allocations: 333.8 kB / 1.078 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005413/0.9537, allocations: 135.8 kB / 1.079 GB, free: 1.316 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001519/0.9553, allocations: 0.9433 MB / 1.079 GB, free: 356 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/0.9565, allocations: 195.3 kB / 1.08 GB, free: 160 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.963e-05/0.9566, allocations: 28 kB / 1.08 GB, free: 132 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.739e-06/0.9566, allocations: 4 kB / 1.08 GB, free: 128 kB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003114/0.9597, allocations: 1.113 MB / 1.081 GB, free: 15 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.617e-06/0.9598, allocations: 4 kB / 1.081 GB, free: 15 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001042/0.9608, allocations: 327.5 kB / 1.081 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000549/0.9614, allocations: 139.8 kB / 1.081 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001377/0.9628, allocations: 0.9347 MB / 1.082 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/0.9638, allocations: 187.2 kB / 1.082 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.818e-05/0.9639, allocations: 31.98 kB / 1.082 GB, free: 13.37 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (52): * Single equations (assignments): 51 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0006277/0.9646, allocations: 346.6 kB / 1.083 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002072/0.9648, allocations: 110.7 kB / 1.083 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003105/0.9679, allocations: 1.187 MB / 1.084 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.007e-05/0.9679, allocations: 11.98 kB / 1.084 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.9679, allocations: 0 / 1.084 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/0.968, allocations: 0 / 1.084 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005323/0.9733, allocations: 2.304 MB / 1.086 GB, free: 9.316 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.9733, allocations: 8.281 kB / 1.086 GB, free: 9.309 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003031/0.9736, allocations: 79.88 kB / 1.086 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001027/0.9747, allocations: 324.5 kB / 1.087 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.484e-05/0.9747, allocations: 19.98 kB / 1.087 GB, free: 8.891 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001489/0.9762, allocations: 0.9647 MB / 1.088 GB, free: 7.902 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.9762, allocations: 0 / 1.088 GB, free: 7.902 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003577/0.9798, allocations: 1.31 MB / 1.089 GB, free: 6.543 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005287/0.9803, allocations: 283.4 kB / 1.089 GB, free: 6.246 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001921/0.9805, allocations: 11.98 kB / 1.089 GB, free: 6.234 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009184/0.9815, allocations: 123.7 kB / 1.089 GB, free: 6.113 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.9816, allocations: 47.84 kB / 1.089 GB, free: 6.066 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.615e-05/0.9816, allocations: 19.98 kB / 1.089 GB, free: 6.047 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001357/0.983, allocations: 0.7393 MB / 1.09 GB, free: 5.301 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.983, allocations: 4 kB / 1.09 GB, free: 5.297 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001773/0.9848, allocations: 0.5575 MB / 1.091 GB, free: 4.738 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 29 * 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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.004467/0.9893, allocations: 2.133 MB / 1.093 GB, free: 2.559 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003228/0.9925, allocations: 1.222 MB / 1.094 GB, free: 1.336 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.9925, allocations: 4 kB / 1.094 GB, free: 1.332 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0009165/0.9935, allocations: 386.5 kB / 1.094 GB, free: 0.957 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002497/0.996, allocations: 0.5045 MB / 1.095 GB, free: 468 kB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0168/1.013, allocations: 6.985 MB / 1.101 GB, free: 9.141 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000836/1.014, allocations: 1.065 MB / 1.103 GB, free: 8.047 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001134/1.015, allocations: 228.7 kB / 1.103 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006161/1.015, allocations: 407.3 kB / 1.103 GB, free: 7.43 MB / 0.8575 GB Notification: Performance of SimCode: time 2.104e-06/1.015, allocations: 0 / 1.103 GB, free: 7.43 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06343/1.079, allocations: 33.48 MB / 1.136 GB, free: 6.477 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002042/1.079, allocations: 275 kB / 1.136 GB, free: 6.121 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.607/3.686, allocations: 7.875 kB / 1.136 GB, free: 6.117 MB / 0.8887 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_HighTemperature_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_HighTemperature.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature_res.mat does not exist to compare? outputFormat=mat