Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",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.0007029/0.0007029, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.003973/0.003973, allocations: 169.6 kB / 16.27 MB, free: 6.648 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.236/1.236, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9378/0.9378, allocations: 143.2 MB / 434.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003076/0.0003076, allocations: 8 kB / 0.5165 GB, free: 11.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1528, allocations: 83.42 MB / 0.598 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.3125/0.4653, allocations: 68.8 MB / 0.6652 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02197/0.4873, allocations: 18.79 MB / 0.6835 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002037/0.4894, allocations: 66.81 kB / 0.6836 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001786/0.4912, allocations: 0.6572 MB / 0.6842 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007822/0.499, allocations: 2.607 MB / 0.6868 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004522/0.5035, allocations: 1.491 MB / 0.6882 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.006969/0.5105, allocations: 5.021 MB / 0.6931 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001979/0.5125, allocations: 1.146 MB / 0.6942 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003129/0.5157, allocations: 1.452 MB / 0.6957 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001741/0.5174, allocations: 1.105 MB / 0.6967 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001649/0.5176, allocations: 57.66 kB / 0.6968 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00282/0.5204, allocations: 1.222 MB / 0.698 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002779/0.5207, allocations: 259.4 kB / 0.6982 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0008719/0.5216, allocations: 0.8047 MB / 0.699 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003936/0.5256, allocations: 3.119 MB / 0.7021 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.5256, allocations: 0 / 0.7021 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5256, allocations: 0 / 0.7021 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.62e-05/0.5256, allocations: 0.9688 kB / 0.7021 GB, free: 8.789 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.003128/0.5288, allocations: 1.714 MB / 0.7037 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.5288, allocations: 10.72 kB / 0.7037 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001935/0.529, allocations: 158.4 kB / 0.7039 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002234/0.5312, allocations: 0.4963 MB / 0.7044 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002465/0.5337, allocations: 1.515 MB / 0.7059 GB, free: 6.457 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003665/0.5341, allocations: 151.6 kB / 0.706 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/0.5343, allocations: 102.7 kB / 0.7061 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002485/0.5368, allocations: 1.322 MB / 0.7074 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.5368, allocations: 1.969 kB / 0.7074 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.5369, allocations: 41.91 kB / 0.7074 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.279e-05/0.5369, allocations: 25.5 kB / 0.7075 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002638/0.5396, allocations: 1.164 MB / 0.7086 GB, free: 5.273 MB / 0.5294 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.008082/0.5477, allocations: 7.199 MB / 0.7156 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003182/0.5509, allocations: 0.9003 MB / 0.7165 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000621/0.5515, allocations: 297.9 kB / 0.7168 GB, free: 14.26 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001245/0.5528, allocations: 1.715 MB / 0.7185 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.5528, allocations: 46.38 kB / 0.7185 GB, free: 12.18 MB / 0.545 GB Notification: Performance of pre-optimization done (n=48): time 2.625e-06/0.5528, allocations: 0 / 0.7185 GB, free: 12.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=48): time 0.005033/0.5579, allocations: 1.45 MB / 0.7199 GB, free: 11.43 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.5579, allocations: 63.91 kB / 0.72 GB, free: 11.36 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00248/0.5604, allocations: 1.53 MB / 0.7215 GB, free: 10.53 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.026e-05/0.5605, allocations: 38.11 kB / 0.7215 GB, free: 10.49 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005245/0.561, allocations: 0.6657 MB / 0.7222 GB, free: 9.902 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001623/0.5612, allocations: 166.3 kB / 0.7223 GB, free: 9.758 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.713e-05/0.5613, allocations: 61.28 kB / 0.7224 GB, free: 9.711 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.5614, allocations: 336.4 kB / 0.7227 GB, free: 9.383 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009286/0.5623, allocations: 388.9 kB / 0.7231 GB, free: 9.207 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001148/0.5635, allocations: 0.6532 MB / 0.7237 GB, free: 8.676 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001736/0.5653, allocations: 0.8961 MB / 0.7246 GB, free: 8.055 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.351e-06/0.5653, allocations: 2.531 kB / 0.7246 GB, free: 8.055 MB / 0.545 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004519/0.5698, allocations: 1.44 MB / 0.726 GB, free: 7.359 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.5698, allocations: 8.25 kB / 0.726 GB, free: 7.359 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.5698, allocations: 6.875 kB / 0.726 GB, free: 7.359 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008635/0.5707, allocations: 234.4 kB / 0.7262 GB, free: 7.223 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007317/0.5715, allocations: 191.7 kB / 0.7264 GB, free: 7.035 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008407/0.5723, allocations: 0.7396 MB / 0.7271 GB, free: 6.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001776/0.5741, allocations: 262.7 kB / 0.7274 GB, free: 6.012 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.929e-05/0.5742, allocations: 39.97 kB / 0.7274 GB, free: 5.973 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (78): * Single equations (assignments): 77 * 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0006428/0.5748, allocations: 357.5 kB / 0.7278 GB, free: 5.613 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/0.575, allocations: 146.2 kB / 0.7279 GB, free: 5.469 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002326/0.5774, allocations: 1.183 MB / 0.7291 GB, free: 4.293 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.736e-05/0.5774, allocations: 7.938 kB / 0.7291 GB, free: 4.285 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.5774, allocations: 7.922 kB / 0.7291 GB, free: 4.277 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.5774, allocations: 0 / 0.7291 GB, free: 4.277 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004923/0.5824, allocations: 2.59 MB / 0.7316 GB, free: 1.605 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.5824, allocations: 4 kB / 0.7316 GB, free: 1.602 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003501/0.5827, allocations: 96.06 kB / 0.7317 GB, free: 1.508 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007282/0.5835, allocations: 224.5 kB / 0.7319 GB, free: 1.285 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.746e-05/0.5835, allocations: 19.98 kB / 0.7319 GB, free: 1.266 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001256/0.5848, allocations: 0.7982 MB / 0.7327 GB, free: 452 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.5848, allocations: 4.031 kB / 0.7327 GB, free: 448 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003282/0.5881, allocations: 1.285 MB / 0.734 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005411/0.5886, allocations: 382.8 kB / 0.7343 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/0.5888, allocations: 15.98 kB / 0.7344 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009271/0.5897, allocations: 99.91 kB / 0.7345 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.145e-05/0.5898, allocations: 44.62 kB / 0.7345 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.719e-05/0.5899, allocations: 31.97 kB / 0.7345 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001632/0.5915, allocations: 1.09 MB / 0.7356 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5915, allocations: 3.938 kB / 0.7356 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001272/0.5928, allocations: 435.4 kB / 0.736 GB, free: 13.02 MB / 0.5606 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004396/0.5972, allocations: 2.202 MB / 0.7382 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002074/0.5993, allocations: 0.8741 MB / 0.739 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.5993, allocations: 0 / 0.739 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001277/0.6006, allocations: 475.5 kB / 0.7395 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003635/0.6043, allocations: 0.7198 MB / 0.7402 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03135/0.6356, allocations: 11.85 MB / 0.7517 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006454/0.6363, allocations: 1.168 MB / 0.7529 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001106/0.6374, allocations: 268.4 kB / 0.7531 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006877/0.6381, allocations: 0.55 MB / 0.7537 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of SimCode: time 5.81e-07/0.6381, allocations: 4 kB / 0.7537 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06189/0.7, allocations: 42.56 MB / 0.7952 GB, free: 356 kB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002678/0.7003, allocations: 292 kB / 0.7955 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.609/3.309, allocations: 3.938 kB / 0.7955 GB, free: 15.96 MB / 0.6231 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)