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.001039/0.001039, allocations: 104.2 kB / 16.35 MB, free: 5.875 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.001071/0.001071, allocations: 191 kB / 17.29 MB, free: 5.516 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.249/1.249, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.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.8199/0.8199, allocations: 143.1 MB / 434.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 63.91 kB / 0.5156 GB, free: 14.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3071, allocations: 82.03 MB / 0.5957 GB, free: 16.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.05628/0.3634, allocations: 70.45 MB / 0.6645 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02138/0.3848, allocations: 18.95 MB / 0.683 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002199/0.387, allocations: 63.62 kB / 0.683 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002357/0.3894, allocations: 0.8307 MB / 0.6839 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007216/0.3967, allocations: 2.846 MB / 0.6866 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003651/0.4003, allocations: 1.66 MB / 0.6883 GB, free: 1.207 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004963/0.4053, allocations: 4.045 MB / 0.6922 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001739/0.4071, allocations: 1.457 MB / 0.6936 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003408/0.4105, allocations: 1.769 MB / 0.6954 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00153/0.412, allocations: 1.186 MB / 0.6965 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002052/0.4123, allocations: 176 kB / 0.6967 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002487/0.4148, allocations: 1.412 MB / 0.6981 GB, free: 7.109 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003126/0.4151, allocations: 390.6 kB / 0.6984 GB, free: 6.727 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0008319/0.4159, allocations: 0.9137 MB / 0.6993 GB, free: 5.809 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003585/0.4195, allocations: 3.281 MB / 0.7025 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.4195, allocations: 0 / 0.7025 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.182e-06/0.4195, allocations: 0 / 0.7025 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.89e-05/0.4196, allocations: 0 / 0.7025 GB, free: 2.52 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.003139/0.4227, allocations: 2.023 MB / 0.7045 GB, free: 444 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.4227, allocations: 8.031 kB / 0.7045 GB, free: 436 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00207/0.4248, allocations: 450.5 kB / 0.7049 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002568/0.4274, allocations: 1.559 MB / 0.7065 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.413e-05/0.4275, allocations: 78.03 kB / 0.7065 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/0.4276, allocations: 100 kB / 0.7066 GB, free: 14.19 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002269/0.4299, allocations: 1.317 MB / 0.7079 GB, free: 12.76 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.4299, allocations: 0 / 0.7079 GB, free: 12.76 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.653e-05/0.43, allocations: 44 kB / 0.708 GB, free: 12.72 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.086e-05/0.4301, allocations: 28 kB / 0.708 GB, free: 12.69 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002397/0.4325, allocations: 1.101 MB / 0.7091 GB, free: 11.59 MB / 0.545 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.008112/0.4406, allocations: 7.513 MB / 0.7164 GB, free: 3.566 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002885/0.4435, allocations: 0.8079 MB / 0.7172 GB, free: 2.754 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005537/0.4441, allocations: 282 kB / 0.7175 GB, free: 2.473 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00111/0.4452, allocations: 1.718 MB / 0.7191 GB, free: 376 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/0.4452, allocations: 43 kB / 0.7192 GB, free: 324 kB / 0.545 GB Notification: Performance of pre-optimization done (n=48): time 3.937e-06/0.4452, allocations: 0 / 0.7192 GB, free: 324 kB / 0.545 GB Notification: Performance of matching and sorting (n=48): time 0.004739/0.45, allocations: 1.342 MB / 0.7205 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.45, allocations: 55.84 kB / 0.7205 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00286/0.4529, allocations: 1.549 MB / 0.7221 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000119/0.4531, allocations: 37.7 kB / 0.7221 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006606/0.4537, allocations: 0.6768 MB / 0.7228 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002471/0.454, allocations: 177.5 kB / 0.7229 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003295/0.4543, allocations: 174.4 kB / 0.7231 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001986/0.4546, allocations: 334 kB / 0.7234 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009434/0.4556, allocations: 365.8 kB / 0.7238 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001177/0.4568, allocations: 0.6585 MB / 0.7244 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001682/0.4585, allocations: 0.8829 MB / 0.7253 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.4585, allocations: 7.938 kB / 0.7253 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002867/0.4613, allocations: 1.189 MB / 0.7264 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.4614, allocations: 8 kB / 0.7264 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.4614, allocations: 12.03 kB / 0.7264 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009187/0.4623, allocations: 220.6 kB / 0.7267 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000737/0.4631, allocations: 191.7 kB / 0.7268 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008847/0.464, allocations: 0.7163 MB / 0.7275 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/0.4654, allocations: 210.6 kB / 0.7277 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.759e-05/0.4655, allocations: 47.97 kB / 0.7278 GB, free: 7.141 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (84): * Single equations (assignments): 83 * 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.0005696/0.4661, allocations: 353.6 kB / 0.7281 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000248/0.4664, allocations: 146.2 kB / 0.7283 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002295/0.4687, allocations: 1.143 MB / 0.7294 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.606e-05/0.4687, allocations: 15.92 kB / 0.7294 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.4687, allocations: 0 / 0.7294 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.4687, allocations: 0 / 0.7294 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004913/0.4736, allocations: 2.525 MB / 0.7319 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/0.4737, allocations: 4 kB / 0.7319 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003795/0.474, allocations: 83.88 kB / 0.7319 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007196/0.4748, allocations: 216.8 kB / 0.7322 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.279e-05/0.4748, allocations: 15.98 kB / 0.7322 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001193/0.476, allocations: 0.7708 MB / 0.7329 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.476, allocations: 8 kB / 0.7329 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003213/0.4793, allocations: 1.203 MB / 0.7341 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006437/0.4799, allocations: 358.9 kB / 0.7344 GB, free: 152 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001744/0.4801, allocations: 16 kB / 0.7345 GB, free: 136 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008573/0.481, allocations: 71.91 kB / 0.7345 GB, free: 64 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.354e-05/0.4811, allocations: 36.52 kB / 0.7346 GB, free: 28 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.796e-05/0.4811, allocations: 27.98 kB / 0.7346 GB, free: 0 / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001735/0.4829, allocations: 1.082 MB / 0.7356 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4829, allocations: 4 kB / 0.7357 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001263/0.4841, allocations: 447.4 kB / 0.7361 GB, free: 14.48 MB / 0.5762 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.0008925/0.485, allocations: 493.6 kB / 0.7365 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002115/0.4872, allocations: 0.8448 MB / 0.7374 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.4872, allocations: 4 kB / 0.7374 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001233/0.4884, allocations: 443.5 kB / 0.7378 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002744/0.4912, allocations: 0.732 MB / 0.7385 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003562/0.4948, allocations: 2.252 MB / 0.7407 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006805/0.4955, allocations: 1.172 MB / 0.7419 GB, free: 8.531 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008986/0.4964, allocations: 274.5 kB / 0.7421 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002522/0.4966, allocations: 115.4 kB / 0.7422 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of SimCode: time 5.61e-07/0.4966, allocations: 0 / 0.7422 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of Templates: time 0.2717/0.7683, allocations: 31.87 MB / 0.7734 GB, free: 135.2 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 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)