Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,fileNamePrefix="Buildings_8_0_0_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/Buildings 8.0.0/package.mo): time 2.661/2.661, allocations: 287.5 MB / 302.4 MB, free: 8.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001373/0.001373, allocations: 169.2 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.146/2.146, allocations: 205.4 MB / 0.6297 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001391/0.001392, allocations: 99.84 kB / 0.743 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005068/0.0005071, allocations: 10.48 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2168, allocations: 115.3 MB / 0.9784 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.08309/0.3, allocations: 56.54 MB / 1.034 GB, free: 3.57 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.0242/0.3242, allocations: 11.13 MB / 1.045 GB, free: 8.418 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002263/0.3265, allocations: 51.62 kB / 1.045 GB, free: 8.367 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002523/0.3291, allocations: 468.9 kB / 1.045 GB, free: 7.906 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.00727/0.3364, allocations: 1.521 MB / 1.047 GB, free: 6.379 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.004384/0.3409, allocations: 0.8853 MB / 1.047 GB, free: 5.504 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.006569/0.3475, allocations: 3.386 MB / 1.051 GB, free: 2.105 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002154/0.3497, allocations: 0.8027 MB / 1.051 GB, free: 1.281 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003514/0.3532, allocations: 1.05 MB / 1.052 GB, free: 232 kB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00239/0.3557, allocations: 0.8127 MB / 1.053 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004741/0.3562, allocations: 51.92 kB / 1.053 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004495/0.3607, allocations: 1.103 MB / 1.054 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0006186/0.3614, allocations: 199 kB / 1.055 GB, free: 14.06 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0006972/0.3621, allocations: 293 kB / 1.055 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004046/0.3662, allocations: 1.648 MB / 1.056 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 9.618e-06/0.3662, allocations: 0 / 1.056 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.627e-06/0.3662, allocations: 3.938 kB / 1.056 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.628e-05/0.3663, allocations: 0 / 1.056 GB, free: 12.11 MB / 0.6823 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.004722/0.371, allocations: 1.512 MB / 1.058 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/0.3711, allocations: 12.03 kB / 1.058 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003297/0.3715, allocations: 126.8 kB / 1.058 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004498/0.376, allocations: 0.5096 MB / 1.059 GB, free: 9.883 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003926/0.3799, allocations: 1.105 MB / 1.06 GB, free: 8.719 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006544/0.3806, allocations: 129.9 kB / 1.06 GB, free: 8.594 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002054/0.3809, allocations: 80 kB / 1.06 GB, free: 8.516 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00364/0.3845, allocations: 1.025 MB / 1.061 GB, free: 7.457 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.315e-05/0.3846, allocations: 4 kB / 1.061 GB, free: 7.453 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001336/0.3847, allocations: 31.94 kB / 1.061 GB, free: 7.422 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.653e-05/0.3848, allocations: 20 kB / 1.061 GB, free: 7.402 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004697/0.3895, allocations: 0.9993 MB / 1.062 GB, free: 6.406 MB / 0.6823 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.01079/0.4003, allocations: 4.695 MB / 1.067 GB, free: 1.363 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007716/0.408, allocations: 1.129 MB / 1.068 GB, free: 232 kB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.6192/1.027, allocations: 434.6 kB / 1.068 GB, free: 91.14 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001299/1.029, allocations: 1.03 MB / 1.069 GB, free: 90.01 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/1.029, allocations: 38.56 kB / 1.069 GB, free: 89.97 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=53): time 2.866e-06/1.029, allocations: 0.5625 kB / 1.069 GB, free: 89.97 MB / 0.6823 GB Notification: Performance of matching and sorting (n=53): time 0.01526/1.044, allocations: 2.143 MB / 1.071 GB, free: 89.83 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/1.044, allocations: 57.06 kB / 1.071 GB, free: 89.77 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002167/1.046, allocations: 0.9349 MB / 1.072 GB, free: 89.44 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000182/1.047, allocations: 38.11 kB / 1.072 GB, free: 89.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005796/1.047, allocations: 0.5139 MB / 1.073 GB, free: 89.06 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003013/1.047, allocations: 187.7 kB / 1.073 GB, free: 88.94 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.27e-05/1.048, allocations: 10 kB / 1.073 GB, free: 88.93 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.387e-05/1.048, allocations: 331.1 kB / 1.073 GB, free: 88.62 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002056/1.05, allocations: 375.3 kB / 1.074 GB, free: 88.53 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002308/1.052, allocations: 0.5329 MB / 1.074 GB, free: 88.26 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00211/1.054, allocations: 402.4 kB / 1.074 GB, free: 88.14 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.837e-06/1.054, allocations: 0.8438 kB / 1.074 GB, free: 88.14 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.007351/1.062, allocations: 1.285 MB / 1.076 GB, free: 87.79 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001038/1.062, allocations: 158.1 kB / 1.076 GB, free: 87.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/1.062, allocations: 7.469 kB / 1.076 GB, free: 87.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002234/1.064, allocations: 333.1 kB / 1.076 GB, free: 87.53 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/1.065, allocations: 141.9 kB / 1.076 GB, free: 87.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002506/1.068, allocations: 0.9344 MB / 1.077 GB, free: 86.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002162/1.07, allocations: 175.1 kB / 1.077 GB, free: 86.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001932/1.07, allocations: 32.36 kB / 1.077 GB, free: 86.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/1.07, allocations: 4.344 kB / 1.077 GB, free: 86.8 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006899/1.077, allocations: 1.149 MB / 1.079 GB, free: 86.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/1.077, allocations: 3.953 kB / 1.079 GB, free: 86.47 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002038/1.079, allocations: 323.8 kB / 1.079 GB, free: 86.39 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/1.081, allocations: 141.3 kB / 1.079 GB, free: 86.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002492/1.083, allocations: 0.931 MB / 1.08 GB, free: 85.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002214/1.086, allocations: 174.9 kB / 1.08 GB, free: 85.67 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002244/1.086, allocations: 28.89 kB / 1.08 GB, free: 85.67 MB / 0.6823 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.0009057/1.087, allocations: 351.3 kB / 1.08 GB, free: 85.38 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003973/1.087, allocations: 111.4 kB / 1.081 GB, free: 85.32 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006085/1.093, allocations: 1.22 MB / 1.082 GB, free: 84.89 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.943e-05/1.093, allocations: 11.11 kB / 1.082 GB, free: 84.89 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/1.093, allocations: 0 / 1.082 GB, free: 84.89 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.918e-05/1.093, allocations: 3.812 kB / 1.082 GB, free: 84.89 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008471/1.102, allocations: 2.312 MB / 1.084 GB, free: 83.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.589e-05/1.102, allocations: 6.688 kB / 1.084 GB, free: 83.83 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/1.103, allocations: 117.4 kB / 1.084 GB, free: 83.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001876/1.105, allocations: 329.4 kB / 1.084 GB, free: 83.74 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001296/1.105, allocations: 21.22 kB / 1.084 GB, free: 83.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002414/1.108, allocations: 0.967 MB / 1.085 GB, free: 83.06 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/1.108, allocations: 5.641 kB / 1.085 GB, free: 83.05 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006996/1.115, allocations: 1.39 MB / 1.087 GB, free: 82.49 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009045/1.116, allocations: 297.5 kB / 1.087 GB, free: 82.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002434/1.116, allocations: 12.84 kB / 1.087 GB, free: 82.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001887/1.118, allocations: 125.3 kB / 1.087 GB, free: 82.24 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001644/1.118, allocations: 43.77 kB / 1.087 GB, free: 82.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/1.118, allocations: 24.62 kB / 1.087 GB, free: 82.22 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001547/1.12, allocations: 0.6552 MB / 1.088 GB, free: 81.93 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.22e-07/1.12, allocations: 0 / 1.088 GB, free: 81.93 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002585/1.122, allocations: 0.5666 MB / 1.088 GB, free: 81.84 MB / 0.6823 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.006893/1.129, allocations: 2.051 MB / 1.09 GB, free: 80.71 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00729/1.137, allocations: 1.387 MB / 1.092 GB, free: 80.32 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/1.137, allocations: 1.75 kB / 1.092 GB, free: 80.32 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002489/1.139, allocations: 487.6 kB / 1.092 GB, free: 80.19 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004929/1.144, allocations: 0.5294 MB / 1.093 GB, free: 80.04 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02605/1.17, allocations: 6.765 MB / 1.099 GB, free: 76.66 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007875/1.171, allocations: 1.069 MB / 1.1 GB, free: 75.93 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001993/1.173, allocations: 228.8 kB / 1.101 GB, free: 75.87 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001041/1.174, allocations: 414.5 kB / 1.101 GB, free: 75.57 MB / 0.6823 GB Notification: Performance of SimCode: time 1.413e-06/1.174, allocations: 2.078 kB / 1.101 GB, free: 75.57 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1329/1.307, allocations: 33.38 MB / 1.134 GB, free: 52.32 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003205/1.307, allocations: 269.7 kB / 1.134 GB, free: 51.95 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.885/5.192, allocations: 0 / 1.134 GB, free: 51.95 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow.fmu > Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)