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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001267/0.001267, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 193.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.24/2.24, allocations: 390.3 MB / 0.6647 GB, free: 280 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 59.91 kB / 0.8126 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4759/0.4771, allocations: 140.4 MB / 0.9497 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.04904/0.5262, allocations: 61.24 MB / 1.01 GB, free: 4.367 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01341/0.5396, allocations: 11.99 MB / 1.021 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009851/0.5406, allocations: 63.62 kB / 1.021 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001226/0.5419, allocations: 0.683 MB / 1.022 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.003154/0.5451, allocations: 1.963 MB / 1.024 GB, free: 5.617 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001955/0.547, allocations: 1.197 MB / 1.025 GB, free: 4.43 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002392/0.5494, allocations: 3.087 MB / 1.028 GB, free: 1.336 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001056/0.5505, allocations: 1.116 MB / 1.029 GB, free: 192 kB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001865/0.5524, allocations: 1.32 MB / 1.03 GB, free: 14.86 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008708/0.5533, allocations: 0.9217 MB / 1.031 GB, free: 13.94 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001445/0.5534, allocations: 120 kB / 1.031 GB, free: 13.82 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001853/0.5553, allocations: 1.443 MB / 1.033 GB, free: 12.38 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0002149/0.5555, allocations: 302.8 kB / 1.033 GB, free: 12.08 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0005111/0.556, allocations: 0.7036 MB / 1.034 GB, free: 11.37 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002001/0.558, allocations: 2.294 MB / 1.036 GB, free: 9.07 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.558, allocations: 0 / 1.036 GB, free: 9.07 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.082e-06/0.558, allocations: 0 / 1.036 GB, free: 9.07 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.234e-05/0.5581, allocations: 3.984 kB / 1.036 GB, free: 9.066 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.00238/0.5604, allocations: 1.734 MB / 1.038 GB, free: 7.273 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.5605, allocations: 12.03 kB / 1.038 GB, free: 7.262 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001212/0.5606, allocations: 126.9 kB / 1.038 GB, free: 7.129 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00225/0.5629, allocations: 462.5 kB / 1.038 GB, free: 6.676 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001561/0.5644, allocations: 1.12 MB / 1.039 GB, free: 5.496 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003191/0.5648, allocations: 113.9 kB / 1.04 GB, free: 5.387 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.5649, allocations: 84 kB / 1.04 GB, free: 5.305 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001772/0.5666, allocations: 1.002 MB / 1.041 GB, free: 4.27 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.5667, allocations: 4 kB / 1.041 GB, free: 4.266 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-05/0.5668, allocations: 32 kB / 1.041 GB, free: 4.234 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.5668, allocations: 20 kB / 1.041 GB, free: 4.215 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002277/0.5691, allocations: 0.9484 MB / 1.042 GB, free: 3.266 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.004859/0.5739, allocations: 4.68 MB / 1.046 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003766/0.5777, allocations: 1.016 MB / 1.047 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009589/0.5787, allocations: 407.6 kB / 1.048 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007749/0.5795, allocations: 1.025 MB / 1.049 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.5795, allocations: 39 kB / 1.049 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=53): time 2.806e-06/0.5795, allocations: 3.984 kB / 1.049 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of matching and sorting (n=53): time 0.006907/0.5864, allocations: 1.951 MB / 1.05 GB, free: 9.535 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.5864, allocations: 55.84 kB / 1.051 GB, free: 9.469 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009463/0.5874, allocations: 0.9513 MB / 1.051 GB, free: 8.5 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.993e-05/0.5875, allocations: 37.7 kB / 1.052 GB, free: 8.457 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003255/0.5878, allocations: 0.5042 MB / 1.052 GB, free: 7.949 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.5879, allocations: 193.3 kB / 1.052 GB, free: 7.758 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001893/0.5881, allocations: 130 kB / 1.052 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.188e-05/0.5882, allocations: 322 kB / 1.053 GB, free: 7.305 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000958/0.5892, allocations: 362.8 kB / 1.053 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/0.5902, allocations: 0.5114 MB / 1.053 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001867/0.5921, allocations: 0.7619 MB / 1.054 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.5921, allocations: 0 / 1.054 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002579/0.5947, allocations: 1.068 MB / 1.055 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.5947, allocations: 4 kB / 1.055 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.5947, allocations: 4 kB / 1.055 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/0.5958, allocations: 302.7 kB / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005685/0.5964, allocations: 139.8 kB / 1.056 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001292/0.5977, allocations: 0.9113 MB / 1.057 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007972/0.5985, allocations: 123.3 kB / 1.057 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.915e-05/0.5986, allocations: 31.92 kB / 1.057 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001149/0.5997, allocations: 0.5596 MB / 1.057 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001051/0.6008, allocations: 0.4991 MB / 1.058 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001827/0.6026, allocations: 0.7618 MB / 1.058 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.196e-06/0.6026, allocations: 4 kB / 1.058 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002558/0.6052, allocations: 1.057 MB / 1.06 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.386e-06/0.6052, allocations: 8 kB / 1.06 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.6052, allocations: 4 kB / 1.06 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009362/0.6062, allocations: 298 kB / 1.06 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005612/0.6067, allocations: 135.8 kB / 1.06 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00124/0.608, allocations: 0.9089 MB / 1.061 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008152/0.6088, allocations: 115.5 kB / 1.061 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.221e-05/0.6089, allocations: 31.92 kB / 1.061 GB, free: 14.46 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.000152/0.609, allocations: 220.1 kB / 1.061 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/0.6092, allocations: 110.6 kB / 1.061 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002792/0.612, allocations: 1.151 MB / 1.062 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.612, allocations: 12 kB / 1.062 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.612, allocations: 0 / 1.062 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.612, allocations: 11.92 kB / 1.062 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003833/0.6159, allocations: 2.26 MB / 1.065 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.6159, allocations: 4 kB / 1.065 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005056/0.6164, allocations: 104 kB / 1.065 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009237/0.6173, allocations: 308.6 kB / 1.065 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.149e-05/0.6174, allocations: 19.98 kB / 1.065 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001321/0.6187, allocations: 0.9401 MB / 1.066 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.6187, allocations: 0 / 1.066 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003386/0.6221, allocations: 1.327 MB / 1.067 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003074/0.6224, allocations: 275.5 kB / 1.068 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/0.6226, allocations: 8 kB / 1.068 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007972/0.6234, allocations: 75.91 kB / 1.068 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.926e-05/0.6235, allocations: 48.27 kB / 1.068 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.983e-05/0.6235, allocations: 27.97 kB / 1.068 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0007175/0.6242, allocations: 0.6676 MB / 1.068 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.81e-07/0.6243, allocations: 4 kB / 1.068 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001111/0.6254, allocations: 0.5653 MB / 1.069 GB, free: 6.152 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003382/0.6288, allocations: 2.007 MB / 1.071 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003491/0.6323, allocations: 1.342 MB / 1.072 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.6323, allocations: 7.938 kB / 1.072 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001171/0.6335, allocations: 464.8 kB / 1.073 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001889/0.6354, allocations: 0.489 MB / 1.073 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0132/0.6486, allocations: 8.584 MB / 1.081 GB, free: 8.867 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005024/0.6491, allocations: 1.074 MB / 1.083 GB, free: 7.762 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0007885/0.6499, allocations: 235.1 kB / 1.083 GB, free: 7.531 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004839/0.6504, allocations: 419.3 kB / 1.083 GB, free: 7.121 MB / 0.8419 GB Notification: Performance of SimCode: time 1.363e-06/0.6504, allocations: 0 / 1.083 GB, free: 7.121 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8413/1.492, allocations: 32.97 MB / 1.115 GB, free: 6.598 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/12.58, allocations: 15.64 kB / 1.115 GB, free: 6.586 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/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)