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: translateModel(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007698/0.0007702, allocations: 92.16 kB / 16.02 MB, free: 80 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.0009066/0.0009064, allocations: 176.9 kB / 16.92 MB, free: 6.652 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.371/1.371, allocations: 223.3 MB / 241 MB, free: 5.277 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 1.058/1.058, allocations: 143.2 MB / 435.3 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000383/0.0003831, allocations: 8 kB / 0.517 GB, free: 11.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.1971, allocations: 83.4 MB / 0.5985 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.4101/0.6072, allocations: 68.81 MB / 0.6657 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02634/0.6336, allocations: 18.79 MB / 0.684 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002912/0.6366, allocations: 63 kB / 0.6841 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002417/0.639, allocations: 0.653 MB / 0.6847 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008795/0.6478, allocations: 2.605 MB / 0.6873 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004642/0.6525, allocations: 1.495 MB / 0.6887 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.008508/0.661, allocations: 5.018 MB / 0.6936 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002545/0.6636, allocations: 1.15 MB / 0.6948 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004187/0.6678, allocations: 1.455 MB / 0.6962 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002755/0.6706, allocations: 1.105 MB / 0.6973 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000308/0.6709, allocations: 57.25 kB / 0.6973 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003985/0.6749, allocations: 1.217 MB / 0.6985 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004352/0.6754, allocations: 257.2 kB / 0.6988 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001606/0.677, allocations: 0.8133 MB / 0.6996 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004436/0.6814, allocations: 2.535 MB / 0.702 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.6815, allocations: 0 / 0.702 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.047e-06/0.6815, allocations: 1.469 kB / 0.702 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.575e-05/0.6815, allocations: 4 kB / 0.702 GB, free: 9.316 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.004067/0.6856, allocations: 1.71 MB / 0.7037 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.6857, allocations: 9.656 kB / 0.7037 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002613/0.6883, allocations: 0.5046 MB / 0.7042 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00326/0.6916, allocations: 1.516 MB / 0.7057 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004475/0.692, allocations: 149.7 kB / 0.7058 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002031/0.6922, allocations: 102.4 kB / 0.7059 GB, free: 7.008 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003119/0.6954, allocations: 1.322 MB / 0.7072 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/0.6954, allocations: 1.25 kB / 0.7072 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/0.6955, allocations: 43.06 kB / 0.7073 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.026e-05/0.6956, allocations: 25.81 kB / 0.7073 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003121/0.6987, allocations: 1.163 MB / 0.7084 GB, free: 5.906 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.01159/0.7103, allocations: 7.199 MB / 0.7155 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003441/0.7138, allocations: 0.8955 MB / 0.7163 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006966/0.7145, allocations: 298.5 kB / 0.7166 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001438/0.7159, allocations: 1.726 MB / 0.7183 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.716, allocations: 38.28 kB / 0.7183 GB, free: 12.89 MB / 0.545 GB Notification: Performance of pre-optimization done (n=48): time 2.515e-06/0.716, allocations: 3.938 kB / 0.7183 GB, free: 12.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=48): time 0.005413/0.7214, allocations: 1.454 MB / 0.7198 GB, free: 12.13 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.7215, allocations: 58.31 kB / 0.7198 GB, free: 12.07 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002948/0.7244, allocations: 1.537 MB / 0.7213 GB, free: 11.23 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001197/0.7246, allocations: 38.11 kB / 0.7213 GB, free: 11.19 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006461/0.7252, allocations: 0.6678 MB / 0.722 GB, free: 10.6 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001978/0.7254, allocations: 168 kB / 0.7222 GB, free: 10.45 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.7256, allocations: 61.47 kB / 0.7222 GB, free: 10.41 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.7257, allocations: 331.7 kB / 0.7225 GB, free: 10.08 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001015/0.7267, allocations: 389.2 kB / 0.7229 GB, free: 9.906 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001227/0.7279, allocations: 0.6568 MB / 0.7235 GB, free: 9.371 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001806/0.7298, allocations: 0.8879 MB / 0.7244 GB, free: 8.758 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.7298, allocations: 6.156 kB / 0.7244 GB, free: 8.754 MB / 0.545 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00482/0.7346, allocations: 1.437 MB / 0.7258 GB, free: 8.062 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.7347, allocations: 12.19 kB / 0.7258 GB, free: 8.059 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.7347, allocations: 7.375 kB / 0.7258 GB, free: 8.059 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009828/0.7357, allocations: 233.4 kB / 0.7261 GB, free: 7.941 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008113/0.7365, allocations: 190.1 kB / 0.7262 GB, free: 7.895 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009587/0.7375, allocations: 0.7336 MB / 0.727 GB, free: 7.207 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002087/0.7396, allocations: 266.7 kB / 0.7272 GB, free: 6.945 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/0.7397, allocations: 35.98 kB / 0.7273 GB, free: 6.91 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.000797/0.7405, allocations: 361.5 kB / 0.7276 GB, free: 6.547 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003126/0.7408, allocations: 146.2 kB / 0.7277 GB, free: 6.402 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002599/0.7434, allocations: 1.171 MB / 0.7289 GB, free: 5.238 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.84e-05/0.7435, allocations: 15.98 kB / 0.7289 GB, free: 5.223 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.7435, allocations: 0 / 0.7289 GB, free: 5.223 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.7435, allocations: 8.016 kB / 0.7289 GB, free: 5.215 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005889/0.7494, allocations: 2.602 MB / 0.7314 GB, free: 2.531 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/0.7494, allocations: 4 kB / 0.7314 GB, free: 2.527 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003843/0.7498, allocations: 83.89 kB / 0.7315 GB, free: 2.445 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008805/0.7507, allocations: 236.7 kB / 0.7318 GB, free: 2.211 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.691e-05/0.7508, allocations: 12 kB / 0.7318 GB, free: 2.199 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001438/0.7522, allocations: 0.806 MB / 0.7326 GB, free: 1.367 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.7522, allocations: 0 / 0.7326 GB, free: 1.367 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003863/0.7561, allocations: 1.289 MB / 0.7338 GB, free: 40 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001052/0.7572, allocations: 378.8 kB / 0.7342 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001865/0.7574, allocations: 12 kB / 0.7342 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/0.7584, allocations: 103.9 kB / 0.7343 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.79e-05/0.7585, allocations: 44.38 kB / 0.7343 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.938e-05/0.7586, allocations: 31.98 kB / 0.7344 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002019/0.7606, allocations: 1.082 MB / 0.7354 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7606, allocations: 0 / 0.7354 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001738/0.7624, allocations: 439.4 kB / 0.7358 GB, free: 13.95 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.001047/0.7634, allocations: 480.2 kB / 0.7363 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002333/0.7658, allocations: 0.878 MB / 0.7371 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/0.7658, allocations: 4 kB / 0.7371 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001385/0.7672, allocations: 471.5 kB / 0.7376 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004107/0.7713, allocations: 0.7112 MB / 0.7383 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004622/0.7759, allocations: 2.823 MB / 0.741 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007652/0.7767, allocations: 1.158 MB / 0.7422 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004205/0.7772, allocations: 127.4 kB / 0.7423 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of SimCode: time 1.242e-06/0.7772, allocations: 0 / 0.7423 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of Templates: time 0.04731/0.8245, allocations: 33.94 MB / 0.7754 GB, free: 5.562 MB / 0.5919 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)