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.001206/0.001206, allocations: 99.86 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.001377/0.001377, allocations: 177.3 kB / 15.94 MB, free: 228 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.368/1.368, allocations: 223.2 MB / 239.9 MB, free: 5.332 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.383/2.383, allocations: 390.3 MB / 0.6653 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003681/0.0003682, allocations: 12 kB / 0.8146 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7/0.7004, allocations: 142.3 MB / 0.9536 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.05305/0.7535, allocations: 51.34 MB / 1.004 GB, free: 12.68 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01659/0.7702, allocations: 10.32 MB / 1.014 GB, free: 2.348 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003282/0.7735, allocations: 51.62 kB / 1.014 GB, free: 2.297 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.003073/0.7766, allocations: 0.6257 MB / 1.014 GB, free: 1.668 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.007498/0.7841, allocations: 1.951 MB / 1.016 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004277/0.7884, allocations: 1.318 MB / 1.018 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004231/0.7927, allocations: 1.851 MB / 1.019 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001434/0.7941, allocations: 0.8303 MB / 1.02 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002408/0.7966, allocations: 0.9886 MB / 1.021 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00112/0.7977, allocations: 0.6105 MB / 1.022 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001133/0.7978, allocations: 44 kB / 1.022 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002535/0.8004, allocations: 1.002 MB / 1.023 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003271/0.8007, allocations: 195.1 kB / 1.023 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003912/0.8011, allocations: 285 kB / 1.023 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001998/0.8031, allocations: 1.598 MB / 1.025 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.8031, allocations: 0 / 1.025 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.786e-06/0.8031, allocations: 0 / 1.025 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.756e-05/0.8032, allocations: 0 / 1.025 GB, free: 6.984 MB / 0.7794 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.002941/0.8061, allocations: 1.501 MB / 1.026 GB, free: 5.426 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.8062, allocations: 8.031 kB / 1.026 GB, free: 5.418 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001606/0.8063, allocations: 126.8 kB / 1.026 GB, free: 5.285 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002624/0.809, allocations: 0.5213 MB / 1.027 GB, free: 4.762 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002122/0.8111, allocations: 1.047 MB / 1.028 GB, free: 3.656 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003553/0.8115, allocations: 133.9 kB / 1.028 GB, free: 3.527 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/0.8116, allocations: 80 kB / 1.028 GB, free: 3.449 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002247/0.8138, allocations: 1.025 MB / 1.029 GB, free: 2.391 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.8139, allocations: 3.938 kB / 1.029 GB, free: 2.387 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.424e-05/0.814, allocations: 32 kB / 1.029 GB, free: 2.355 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/0.814, allocations: 20 kB / 1.029 GB, free: 2.336 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00272/0.8167, allocations: 0.9915 MB / 1.03 GB, free: 1.348 MB / 0.7794 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.007071/0.8238, allocations: 4.723 MB / 1.035 GB, free: 12.28 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004384/0.8282, allocations: 1.126 MB / 1.036 GB, free: 11.14 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001103/0.8293, allocations: 1.029 MB / 1.037 GB, free: 9.895 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.8294, allocations: 35 kB / 1.037 GB, free: 9.852 MB / 0.795 GB Notification: Performance of pre-optimization done (n=53): time 2.575e-06/0.8294, allocations: 0 / 1.037 GB, free: 9.852 MB / 0.795 GB Notification: Performance of matching and sorting (n=53): time 0.008179/0.8376, allocations: 2.139 MB / 1.039 GB, free: 7.68 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/0.8377, allocations: 59.84 kB / 1.039 GB, free: 7.609 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001411/0.8391, allocations: 0.959 MB / 1.04 GB, free: 6.633 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 9.276e-05/0.8392, allocations: 37.7 kB / 1.04 GB, free: 6.59 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004669/0.8397, allocations: 0.5002 MB / 1.041 GB, free: 6.086 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001827/0.8399, allocations: 189.2 kB / 1.041 GB, free: 5.898 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.718e-05/0.8399, allocations: 12 kB / 1.041 GB, free: 5.887 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.8401, allocations: 330 kB / 1.041 GB, free: 5.559 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/0.8411, allocations: 372.9 kB / 1.041 GB, free: 5.191 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001222/0.8423, allocations: 0.5303 MB / 1.042 GB, free: 4.605 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.8434, allocations: 401.9 kB / 1.042 GB, free: 4.211 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.8435, allocations: 4 kB / 1.042 GB, free: 4.207 MB / 0.795 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003994/0.8475, allocations: 1.287 MB / 1.044 GB, free: 2.906 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004389/0.8479, allocations: 0.9692 MB / 1.045 GB, free: 1.867 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.8479, allocations: 3.984 kB / 1.045 GB, free: 1.863 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001305/0.8492, allocations: 336.6 kB / 1.045 GB, free: 1.531 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007271/0.85, allocations: 135.8 kB / 1.045 GB, free: 1.398 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00151/0.8515, allocations: 0.9456 MB / 1.046 GB, free: 440 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001273/0.8528, allocations: 171.3 kB / 1.046 GB, free: 268 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.663e-05/0.8529, allocations: 35.98 kB / 1.046 GB, free: 232 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.8529, allocations: 5.406 kB / 1.046 GB, free: 228 kB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003661/0.8566, allocations: 1.15 MB / 1.047 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.8566, allocations: 4 kB / 1.047 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001148/0.8577, allocations: 312.8 kB / 1.048 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007133/0.8585, allocations: 143.8 kB / 1.048 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001516/0.86, allocations: 0.9426 MB / 1.049 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.8614, allocations: 163.4 kB / 1.049 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.519e-05/0.8615, allocations: 35.97 kB / 1.049 GB, free: 13.45 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.0006109/0.8621, allocations: 363 kB / 1.049 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002404/0.8623, allocations: 106.7 kB / 1.049 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003329/0.8657, allocations: 1.222 MB / 1.05 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.682e-05/0.8657, allocations: 7.984 kB / 1.05 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.8657, allocations: 0 / 1.05 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.8657, allocations: 3.984 kB / 1.05 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005147/0.8709, allocations: 2.338 MB / 1.053 GB, free: 9.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-05/0.871, allocations: 4 kB / 1.053 GB, free: 9.316 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007574/0.8717, allocations: 116 kB / 1.053 GB, free: 9.203 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001171/0.8729, allocations: 324.5 kB / 1.053 GB, free: 8.883 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.007e-05/0.873, allocations: 15.98 kB / 1.053 GB, free: 8.867 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001557/0.8745, allocations: 0.9593 MB / 1.054 GB, free: 7.883 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.217e-06/0.8745, allocations: 11.91 kB / 1.054 GB, free: 7.871 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004041/0.8786, allocations: 1.464 MB / 1.056 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006432/0.8793, allocations: 299.4 kB / 1.056 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/0.8794, allocations: 12 kB / 1.056 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/0.8804, allocations: 131.8 kB / 1.056 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.435e-05/0.8805, allocations: 40.28 kB / 1.056 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.196e-05/0.8806, allocations: 27.97 kB / 1.056 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001011/0.8816, allocations: 0.6676 MB / 1.057 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8816, allocations: 0 / 1.057 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001554/0.8832, allocations: 0.5769 MB / 1.057 GB, free: 4.566 MB / 0.8106 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.004166/0.8874, allocations: 2.551 MB / 1.06 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003947/0.8913, allocations: 1.378 MB / 1.061 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/0.8914, allocations: 0 / 1.061 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001335/0.8927, allocations: 492.8 kB / 1.062 GB, free: 96 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002568/0.8953, allocations: 0.4957 MB / 1.062 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00613/0.9014, allocations: 4.66 MB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006968/0.9022, allocations: 1.094 MB / 1.068 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001167/0.9033, allocations: 232.2 kB / 1.068 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000589/0.9039, allocations: 415.3 kB / 1.068 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of SimCode: time 1.193e-06/0.9039, allocations: 0 / 1.068 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05795/0.9619, allocations: 32.88 MB / 1.1 GB, free: 8.664 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002204/0.9622, allocations: 260 kB / 1.101 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.787/3.749, allocations: 0 / 1.101 GB, free: 8.305 MB / 0.8575 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