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.0008093/0.0008093, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.00088/0.0008799, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.162/1.162, allocations: 223.3 MB / 240 MB, free: 5.418 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.8655/0.8655, allocations: 143.2 MB / 434.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002565/0.0002566, allocations: 8 kB / 0.5158 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1261, allocations: 83.41 MB / 0.5972 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.2575/0.3837, allocations: 65.06 MB / 0.6608 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.019/0.4027, allocations: 17.71 MB / 0.6781 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001735/0.4045, allocations: 59.81 kB / 0.6781 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001473/0.406, allocations: 0.5223 MB / 0.6786 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005789/0.4117, allocations: 2.111 MB / 0.6807 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0029/0.4147, allocations: 1.082 MB / 0.6818 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005016/0.4197, allocations: 4.385 MB / 0.686 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001521/0.4212, allocations: 1.028 MB / 0.687 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00267/0.4239, allocations: 1.328 MB / 0.6883 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/0.4254, allocations: 1.04 MB / 0.6894 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000129/0.4256, allocations: 56.88 kB / 0.6894 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002344/0.4279, allocations: 0.9059 MB / 0.6903 GB, free: 292 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002495/0.4282, allocations: 245.2 kB / 0.6905 GB, free: 152 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003799/0.4286, allocations: 370.9 kB / 0.6909 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002671/0.4312, allocations: 2.451 MB / 0.6933 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.4313, allocations: 4 kB / 0.6933 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4313, allocations: 0 / 0.6933 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.448e-05/0.4313, allocations: 0 / 0.6933 GB, free: 15.38 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.002829/0.4341, allocations: 1.723 MB / 0.695 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.4342, allocations: 9.062 kB / 0.695 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00194/0.4361, allocations: 0.4966 MB / 0.6955 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002373/0.4385, allocations: 1.466 MB / 0.6969 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003196/0.4388, allocations: 140.6 kB / 0.697 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.439, allocations: 114.3 kB / 0.6971 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002372/0.4414, allocations: 1.316 MB / 0.6984 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.4414, allocations: 2.594 kB / 0.6984 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.401e-05/0.4415, allocations: 42.28 kB / 0.6985 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/0.4415, allocations: 33.92 kB / 0.6985 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002383/0.4439, allocations: 1.149 MB / 0.6996 GB, free: 12.03 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.00759/0.4515, allocations: 7.204 MB / 0.7066 GB, free: 5.824 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00279/0.4543, allocations: 0.8897 MB / 0.7075 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000559/0.4549, allocations: 297 kB / 0.7078 GB, free: 5.25 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001233/0.4561, allocations: 1.726 MB / 0.7095 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.4562, allocations: 37.91 kB / 0.7095 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=48): time 2.655e-06/0.4562, allocations: 0 / 0.7095 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48): time 0.004214/0.4604, allocations: 1.451 MB / 0.7109 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.4604, allocations: 57.06 kB / 0.711 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002167/0.4626, allocations: 1.517 MB / 0.7125 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.925e-05/0.4627, allocations: 42.33 kB / 0.7125 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005341/0.4632, allocations: 0.6678 MB / 0.7132 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/0.4634, allocations: 166.8 kB / 0.7133 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.032e-05/0.4634, allocations: 19.69 kB / 0.7133 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.4635, allocations: 328.5 kB / 0.7137 GB, free: 412 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008725/0.4644, allocations: 387.5 kB / 0.714 GB, free: 224 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/0.4655, allocations: 0.6556 MB / 0.7147 GB, free: 15.68 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009297/0.4664, allocations: 440.9 kB / 0.7151 GB, free: 15.47 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/0.4664, allocations: 2.312 kB / 0.7151 GB, free: 15.47 MB / 0.545 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002542/0.469, allocations: 1.216 MB / 0.7163 GB, free: 14.86 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.469, allocations: 7.156 kB / 0.7163 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.469, allocations: 12.06 kB / 0.7163 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007365/0.4698, allocations: 229.8 kB / 0.7165 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006754/0.4705, allocations: 197.8 kB / 0.7167 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007095/0.4712, allocations: 0.7251 MB / 0.7174 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/0.4727, allocations: 268.6 kB / 0.7177 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.32e-05/0.4728, allocations: 45.19 kB / 0.7177 GB, free: 13.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 (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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0005462/0.4733, allocations: 358.9 kB / 0.7181 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/0.4735, allocations: 149.5 kB / 0.7182 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002031/0.4755, allocations: 1.169 MB / 0.7193 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.881e-05/0.4755, allocations: 10.66 kB / 0.7193 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.4756, allocations: 3.953 kB / 0.7193 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.4756, allocations: 9.453 kB / 0.7194 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004293/0.4799, allocations: 2.58 MB / 0.7219 GB, free: 11.15 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.4799, allocations: 2.75 kB / 0.7219 GB, free: 11.15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003205/0.4802, allocations: 91.25 kB / 0.722 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006167/0.4808, allocations: 234.8 kB / 0.7222 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.713e-05/0.4809, allocations: 17.45 kB / 0.7222 GB, free: 10.99 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001078/0.482, allocations: 0.8046 MB / 0.723 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.482, allocations: 1.344 kB / 0.723 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002794/0.4848, allocations: 1.286 MB / 0.7242 GB, free: 9.098 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004411/0.4852, allocations: 374.8 kB / 0.7246 GB, free: 8.711 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/0.4854, allocations: 16 kB / 0.7246 GB, free: 8.695 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008138/0.4862, allocations: 107.8 kB / 0.7247 GB, free: 8.59 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.839e-05/0.4863, allocations: 48.41 kB / 0.7248 GB, free: 8.543 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.916e-05/0.4864, allocations: 23.98 kB / 0.7248 GB, free: 8.52 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001497/0.4879, allocations: 1.074 MB / 0.7258 GB, free: 7.449 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4879, allocations: 0 / 0.7258 GB, free: 7.449 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001146/0.489, allocations: 431.4 kB / 0.7263 GB, free: 7.027 MB / 0.545 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 (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 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007147/0.4897, allocations: 462.9 kB / 0.7267 GB, free: 6.578 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001806/0.4916, allocations: 0.8702 MB / 0.7275 GB, free: 5.711 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4916, allocations: 0 / 0.7275 GB, free: 5.711 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0011/0.4927, allocations: 475.5 kB / 0.728 GB, free: 5.25 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002602/0.4953, allocations: 0.7026 MB / 0.7287 GB, free: 4.562 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003501/0.4988, allocations: 2.718 MB / 0.7313 GB, free: 1.793 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006364/0.4995, allocations: 1.172 MB / 0.7325 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008776/0.5003, allocations: 265.4 kB / 0.7327 GB, free: 352 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002206/0.5006, allocations: 107.4 kB / 0.7328 GB, free: 244 kB / 0.545 GB Notification: Performance of SimCode: time 3.81e-07/0.5006, allocations: 0 / 0.7328 GB, free: 244 kB / 0.545 GB Notification: Performance of Templates: time 0.04167/0.5422, allocations: 29.39 MB / 0.7615 GB, free: 3.234 MB / 0.5762 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)