Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_reverseFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow",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.0009032/0.0009034, allocations: 91.53 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.001036/0.001036, 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.423/1.423, allocations: 223.3 MB / 240 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.481/2.481, allocations: 390.4 MB / 0.6655 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003418/0.0003419, allocations: 8 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.655/0.6553, allocations: 142.3 MB / 0.9538 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.05041/0.7058, allocations: 56.54 MB / 1.009 GB, free: 7.434 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01492/0.7207, allocations: 11.23 MB / 1.02 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001951/0.7227, allocations: 51.62 kB / 1.02 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001456/0.7242, allocations: 460.9 kB / 1.021 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.004295/0.7285, allocations: 1.53 MB / 1.022 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002404/0.7309, allocations: 0.8685 MB / 1.023 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003847/0.7348, allocations: 3.393 MB / 1.026 GB, free: 5.883 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001188/0.736, allocations: 0.8144 MB / 1.027 GB, free: 5.043 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001906/0.7379, allocations: 1.038 MB / 1.028 GB, free: 4 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001039/0.739, allocations: 0.8205 MB / 1.029 GB, free: 3.176 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.7391, allocations: 44 kB / 1.029 GB, free: 3.133 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002188/0.7413, allocations: 1.103 MB / 1.03 GB, free: 2.027 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001978/0.7415, allocations: 199 kB / 1.03 GB, free: 1.832 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002881/0.7418, allocations: 285 kB / 1.03 GB, free: 1.547 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001689/0.7435, allocations: 1.648 MB / 1.032 GB, free: 15.89 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.7435, allocations: 0 / 1.032 GB, free: 15.89 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7435, allocations: 0 / 1.032 GB, free: 15.89 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.417e-05/0.7435, allocations: 4 kB / 1.032 GB, free: 15.89 MB / 0.795 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.002548/0.7461, allocations: 1.508 MB / 1.033 GB, free: 14.32 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.7461, allocations: 19.95 kB / 1.033 GB, free: 14.3 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001338/0.7463, allocations: 122.8 kB / 1.034 GB, free: 14.18 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002227/0.7485, allocations: 0.5174 MB / 1.034 GB, free: 13.66 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001916/0.7504, allocations: 1.09 MB / 1.035 GB, free: 12.51 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003188/0.7508, allocations: 125.9 kB / 1.035 GB, free: 12.39 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.7509, allocations: 87.98 kB / 1.035 GB, free: 12.3 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001994/0.7529, allocations: 1.029 MB / 1.036 GB, free: 11.24 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.7529, allocations: 0 / 1.036 GB, free: 11.24 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.829e-05/0.753, allocations: 32 kB / 1.036 GB, free: 11.21 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.753, allocations: 20 kB / 1.036 GB, free: 11.19 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002402/0.7554, allocations: 0.9992 MB / 1.037 GB, free: 10.19 MB / 0.795 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.005801/0.7613, allocations: 4.684 MB / 1.042 GB, free: 5.16 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003791/0.7651, allocations: 1.123 MB / 1.043 GB, free: 4.031 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009942/0.7661, allocations: 441.9 kB / 1.043 GB, free: 3.594 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009789/0.7671, allocations: 1.029 MB / 1.044 GB, free: 2.344 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.7671, allocations: 43 kB / 1.045 GB, free: 2.293 MB / 0.795 GB Notification: Performance of pre-optimization done (n=53): time 2.635e-06/0.7671, allocations: 4 kB / 1.045 GB, free: 2.289 MB / 0.795 GB Notification: Performance of matching and sorting (n=53): time 0.006963/0.7741, allocations: 2.139 MB / 1.047 GB, free: 124 kB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.7742, allocations: 59.84 kB / 1.047 GB, free: 52 kB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/0.7754, allocations: 0.9317 MB / 1.048 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 7.214e-05/0.7755, allocations: 41.7 kB / 1.048 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003903/0.7759, allocations: 0.5119 MB / 1.048 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001704/0.7761, allocations: 189.3 kB / 1.048 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.858e-05/0.7761, allocations: 12 kB / 1.048 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.7762, allocations: 326 kB / 1.049 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009454/0.7772, allocations: 376.9 kB / 1.049 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001048/0.7783, allocations: 0.5303 MB / 1.05 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009717/0.7792, allocations: 405.9 kB / 1.05 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.7793, allocations: 0 / 1.05 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00361/0.7829, allocations: 1.283 MB / 1.051 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001103/0.783, allocations: 173.3 kB / 1.051 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.783, allocations: 0 / 1.051 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001202/0.7842, allocations: 328.5 kB / 1.052 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006524/0.7849, allocations: 143.8 kB / 1.052 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/0.7863, allocations: 0.9348 MB / 1.053 GB, free: 9.734 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/0.7876, allocations: 171.3 kB / 1.053 GB, free: 9.566 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-05/0.7877, allocations: 27.98 kB / 1.053 GB, free: 9.539 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.7877, allocations: 4 kB / 1.053 GB, free: 9.535 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00324/0.7909, allocations: 1.154 MB / 1.054 GB, free: 8.375 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.791, allocations: 12.05 kB / 1.054 GB, free: 8.363 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001065/0.792, allocations: 312.6 kB / 1.054 GB, free: 8.055 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006269/0.7927, allocations: 147.8 kB / 1.054 GB, free: 7.91 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001301/0.794, allocations: 0.9366 MB / 1.055 GB, free: 6.949 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/0.7951, allocations: 167.3 kB / 1.056 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.497e-05/0.7952, allocations: 31.92 kB / 1.056 GB, free: 6.754 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (55): * Single equations (assignments): 54 * 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.0005277/0.7957, allocations: 356.9 kB / 1.056 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/0.7959, allocations: 106.7 kB / 1.056 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002861/0.7988, allocations: 1.221 MB / 1.057 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/0.7988, allocations: 8 kB / 1.057 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.7988, allocations: 3.953 kB / 1.057 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.7988, allocations: 3.984 kB / 1.057 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004106/0.8029, allocations: 2.323 MB / 1.059 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/0.8029, allocations: 0 / 1.059 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005478/0.8035, allocations: 120 kB / 1.06 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009564/0.8045, allocations: 325.4 kB / 1.06 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.672e-05/0.8045, allocations: 19.98 kB / 1.06 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001319/0.8059, allocations: 0.9639 MB / 1.061 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.8059, allocations: 3.938 kB / 1.061 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003369/0.8092, allocations: 1.402 MB / 1.062 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004557/0.8097, allocations: 295.3 kB / 1.063 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/0.8098, allocations: 12 kB / 1.063 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000887/0.8107, allocations: 123.9 kB / 1.063 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.576e-05/0.8108, allocations: 32.39 kB / 1.063 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.988e-05/0.8109, allocations: 27.98 kB / 1.063 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0009694/0.8119, allocations: 0.6559 MB / 1.063 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.91e-07/0.8119, allocations: 0 / 1.063 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001455/0.8134, allocations: 0.5729 MB / 1.064 GB, free: 14.02 MB / 0.8262 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.003581/0.817, allocations: 2.059 MB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003476/0.8204, allocations: 1.385 MB / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.8205, allocations: 0 / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001154/0.8216, allocations: 492.8 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002324/0.824, allocations: 0.5052 MB / 1.068 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01418/0.8382, allocations: 6.758 MB / 1.075 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006325/0.8388, allocations: 1.07 MB / 1.076 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.00112/0.84, allocations: 232 kB / 1.076 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005529/0.8405, allocations: 415.3 kB / 1.076 GB, free: 0.7695 MB / 0.8262 GB Notification: Performance of SimCode: time 1.573e-06/0.8405, allocations: 0 / 1.076 GB, free: 0.7695 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0591/0.8996, allocations: 33.17 MB / 1.109 GB, free: 96 kB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002506/0.8999, allocations: 261.3 kB / 1.109 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.641/3.541, allocations: 4 kB / 1.109 GB, free: 15.73 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow.fmu > Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow_res.mat does not exist to compare? outputFormat=mat