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.001168/0.001169, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001212/0.001211, allocations: 194.3 kB / 16.13 MB, free: 6.664 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.204/1.204, allocations: 222.9 MB / 239.8 MB, free: 4.57 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.8603/0.8603, allocations: 143 MB / 433 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001087/0.001087, allocations: 67.89 kB / 0.5136 GB, free: 12.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1288, allocations: 82.04 MB / 0.5937 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.2582/0.3871, allocations: 70.04 MB / 0.6621 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01998/0.4071, allocations: 19.01 MB / 0.6807 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001808/0.4089, allocations: 67.09 kB / 0.6807 GB, free: 1.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001713/0.4107, allocations: 0.6543 MB / 0.6814 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006412/0.4171, allocations: 2.608 MB / 0.6839 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003771/0.4209, allocations: 1.492 MB / 0.6854 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.006888/0.4278, allocations: 5.014 MB / 0.6903 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002044/0.4299, allocations: 1.186 MB / 0.6914 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003237/0.4331, allocations: 1.493 MB / 0.6929 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001853/0.435, allocations: 1.163 MB / 0.694 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000161/0.4351, allocations: 77.19 kB / 0.6941 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002816/0.438, allocations: 1.242 MB / 0.6953 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003061/0.4383, allocations: 287.3 kB / 0.6956 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0008552/0.4392, allocations: 0.8215 MB / 0.6964 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003889/0.4431, allocations: 3.183 MB / 0.6995 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.4431, allocations: 0 / 0.6995 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.92e-07/0.4431, allocations: 0 / 0.6995 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.468e-05/0.4431, allocations: 5.406 kB / 0.6995 GB, free: 9.07 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.003297/0.4464, allocations: 2.027 MB / 0.7015 GB, free: 7.707 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.4464, allocations: 13.06 kB / 0.7015 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001752/0.4466, allocations: 154.1 kB / 0.7017 GB, free: 7.602 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00217/0.4488, allocations: 448.5 kB / 0.7021 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002267/0.4511, allocations: 1.516 MB / 0.7036 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003285/0.4514, allocations: 140.5 kB / 0.7037 GB, free: 6.484 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001409/0.4516, allocations: 101.5 kB / 0.7038 GB, free: 6.453 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002258/0.4538, allocations: 1.294 MB / 0.7051 GB, free: 5.793 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.4539, allocations: 1.375 kB / 0.7051 GB, free: 5.793 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-05/0.454, allocations: 42.03 kB / 0.7051 GB, free: 5.762 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.05e-05/0.454, allocations: 25.78 kB / 0.7051 GB, free: 5.762 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002454/0.4565, allocations: 1.111 MB / 0.7062 GB, free: 5.355 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.007276/0.4637, allocations: 7.148 MB / 0.7132 GB, free: 14.99 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002975/0.4667, allocations: 0.8027 MB / 0.714 GB, free: 14.58 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005559/0.4673, allocations: 286.7 kB / 0.7142 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001123/0.4684, allocations: 1.719 MB / 0.7159 GB, free: 12.4 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.4685, allocations: 45.69 kB / 0.716 GB, free: 12.35 MB / 0.545 GB Notification: Performance of pre-optimization done (n=48): time 2.024e-06/0.4685, allocations: 0 / 0.716 GB, free: 12.35 MB / 0.545 GB Notification: Performance of matching and sorting (n=48): time 0.004361/0.4728, allocations: 1.335 MB / 0.7173 GB, free: 11.61 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.4729, allocations: 61.47 kB / 0.7173 GB, free: 11.54 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002076/0.475, allocations: 1.52 MB / 0.7188 GB, free: 10.71 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.547e-05/0.475, allocations: 37.92 kB / 0.7189 GB, free: 10.67 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005025/0.4755, allocations: 0.6737 MB / 0.7195 GB, free: 10.07 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/0.4757, allocations: 169.5 kB / 0.7197 GB, free: 9.926 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002497/0.4759, allocations: 165.7 kB / 0.7198 GB, free: 9.824 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.297e-05/0.476, allocations: 329.2 kB / 0.7201 GB, free: 9.504 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000941/0.477, allocations: 365.9 kB / 0.7205 GB, free: 9.324 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/0.4781, allocations: 0.6301 MB / 0.7211 GB, free: 8.793 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001624/0.4797, allocations: 0.8538 MB / 0.7219 GB, free: 8.176 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.4798, allocations: 1.844 kB / 0.7219 GB, free: 8.176 MB / 0.545 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00402/0.4838, allocations: 1.339 MB / 0.7232 GB, free: 7.488 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.4838, allocations: 6.312 kB / 0.7233 GB, free: 7.488 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.4838, allocations: 10.95 kB / 0.7233 GB, free: 7.484 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008634/0.4847, allocations: 218.2 kB / 0.7235 GB, free: 7.375 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007094/0.4854, allocations: 182.5 kB / 0.7236 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007573/0.4862, allocations: 0.7136 MB / 0.7243 GB, free: 6.695 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/0.4879, allocations: 236.8 kB / 0.7246 GB, free: 6.566 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.722e-05/0.488, allocations: 43.98 kB / 0.7246 GB, free: 6.523 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.000521/0.4885, allocations: 357.5 kB / 0.725 GB, free: 6.164 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000222/0.4887, allocations: 142.2 kB / 0.7251 GB, free: 6.023 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002227/0.491, allocations: 1.149 MB / 0.7262 GB, free: 4.883 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.88e-05/0.491, allocations: 8 kB / 0.7262 GB, free: 4.875 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.491, allocations: 3.938 kB / 0.7262 GB, free: 4.871 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.491, allocations: 3.984 kB / 0.7262 GB, free: 4.867 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004645/0.4957, allocations: 2.512 MB / 0.7287 GB, free: 2.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.4957, allocations: 0 / 0.7287 GB, free: 2.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003343/0.496, allocations: 83.88 kB / 0.7288 GB, free: 2.188 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006743/0.4967, allocations: 224.7 kB / 0.729 GB, free: 1.965 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.908e-05/0.4968, allocations: 19.98 kB / 0.729 GB, free: 1.945 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00117/0.4979, allocations: 0.7709 MB / 0.7297 GB, free: 1.148 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.4979, allocations: 4.031 kB / 0.7297 GB, free: 1.145 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003029/0.501, allocations: 1.211 MB / 0.7309 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000468/0.5015, allocations: 346.9 kB / 0.7313 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001781/0.5016, allocations: 15.98 kB / 0.7313 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008969/0.5026, allocations: 91.75 kB / 0.7314 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.059e-05/0.5026, allocations: 40.44 kB / 0.7314 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.647e-05/0.5027, allocations: 39.98 kB / 0.7314 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001474/0.5042, allocations: 1.07 MB / 0.7325 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.603e-06/0.5042, allocations: 0 / 0.7325 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001203/0.5054, allocations: 439.4 kB / 0.7329 GB, free: 13.86 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.004012/0.5094, allocations: 2.118 MB / 0.735 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001873/0.5113, allocations: 0.8235 MB / 0.7358 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.5113, allocations: 4.25 kB / 0.7358 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00115/0.5125, allocations: 443.3 kB / 0.7362 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002689/0.5152, allocations: 0.6961 MB / 0.7369 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02962/0.5448, allocations: 11.66 MB / 0.7483 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000719/0.5456, allocations: 1.168 MB / 0.7494 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00113/0.5467, allocations: 267.8 kB / 0.7497 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000717/0.5474, allocations: 0.5539 MB / 0.7502 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of SimCode: time 1.002e-06/0.5474, allocations: 0 / 0.7502 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05703/0.6045, allocations: 42.07 MB / 0.7913 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000242/0.6048, allocations: 284.8 kB / 0.7916 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.411/3.016, allocations: 7.938 kB / 0.7916 GB, free: 1.66 MB / 0.6075 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)