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.001101/0.001101, 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.00111/0.00111, allocations: 197.7 kB / 16.14 MB, free: 6.66 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.35/1.35, 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.9674/0.9674, allocations: 143 MB / 433 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 63.89 kB / 0.5135 GB, free: 12.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1627, allocations: 82.04 MB / 0.5936 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.3384/0.5011, allocations: 70.04 MB / 0.662 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02224/0.5233, allocations: 19.02 MB / 0.6806 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002704/0.5261, allocations: 63.19 kB / 0.6806 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002296/0.5284, allocations: 0.6503 MB / 0.6813 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007793/0.5362, allocations: 2.617 MB / 0.6838 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003914/0.5401, allocations: 1.484 MB / 0.6853 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.006325/0.5465, allocations: 5.019 MB / 0.6902 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001744/0.5482, allocations: 1.189 MB / 0.6913 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00306/0.5513, allocations: 1.486 MB / 0.6928 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001918/0.5532, allocations: 1.158 MB / 0.6939 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001917/0.5534, allocations: 80.28 kB / 0.694 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003047/0.5565, allocations: 1.246 MB / 0.6952 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003139/0.5568, allocations: 292.6 kB / 0.6955 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0009213/0.5578, allocations: 0.8137 MB / 0.6963 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004282/0.5621, allocations: 3.186 MB / 0.6994 GB, free: 9.117 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.5621, allocations: 0 / 0.6994 GB, free: 9.117 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.223e-06/0.5621, allocations: 0 / 0.6994 GB, free: 9.117 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.481e-05/0.5621, allocations: 0 / 0.6994 GB, free: 9.117 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.003578/0.5657, allocations: 2.037 MB / 0.7014 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.5657, allocations: 8.719 kB / 0.7014 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002329/0.5681, allocations: 443.8 kB / 0.7018 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002514/0.5706, allocations: 1.52 MB / 0.7033 GB, free: 6.676 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000358/0.571, allocations: 134.7 kB / 0.7034 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001543/0.5711, allocations: 106.6 kB / 0.7035 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002492/0.5736, allocations: 1.291 MB / 0.7048 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.5737, allocations: 1.188 kB / 0.7048 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.5738, allocations: 42.88 kB / 0.7048 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.391e-05/0.5738, allocations: 25.81 kB / 0.7049 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002969/0.5768, allocations: 1.112 MB / 0.7059 GB, free: 5.504 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.009332/0.5861, allocations: 7.15 MB / 0.7129 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003107/0.5893, allocations: 0.8024 MB / 0.7137 GB, free: 14.74 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006023/0.5899, allocations: 288.3 kB / 0.714 GB, free: 14.59 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001346/0.5912, allocations: 1.722 MB / 0.7157 GB, free: 12.56 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.5913, allocations: 37.75 kB / 0.7157 GB, free: 12.52 MB / 0.545 GB Notification: Performance of pre-optimization done (n=48): time 2.284e-06/0.5913, allocations: 0 / 0.7157 GB, free: 12.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=48): time 0.00488/0.5962, allocations: 1.347 MB / 0.717 GB, free: 11.76 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.5962, allocations: 57.62 kB / 0.7171 GB, free: 11.7 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0026/0.5988, allocations: 1.516 MB / 0.7185 GB, free: 10.88 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.611e-05/0.5989, allocations: 38.02 kB / 0.7186 GB, free: 10.84 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00054/0.5995, allocations: 0.6676 MB / 0.7192 GB, free: 10.24 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002041/0.5997, allocations: 171.7 kB / 0.7194 GB, free: 10.09 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002846/0.6, allocations: 161 kB / 0.7196 GB, free: 9.996 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.6001, allocations: 341.7 kB / 0.7199 GB, free: 9.664 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009544/0.6011, allocations: 360.4 kB / 0.7202 GB, free: 9.488 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001323/0.6024, allocations: 0.6313 MB / 0.7208 GB, free: 8.957 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001877/0.6043, allocations: 0.8411 MB / 0.7217 GB, free: 8.352 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.428e-06/0.6043, allocations: 6.156 kB / 0.7217 GB, free: 8.348 MB / 0.545 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004424/0.6087, allocations: 1.335 MB / 0.723 GB, free: 7.664 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.6088, allocations: 11.84 kB / 0.723 GB, free: 7.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.6088, allocations: 11.62 kB / 0.723 GB, free: 7.656 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008765/0.6097, allocations: 221.5 kB / 0.7232 GB, free: 7.543 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007592/0.6105, allocations: 186.2 kB / 0.7234 GB, free: 7.488 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008349/0.6113, allocations: 0.7104 MB / 0.7241 GB, free: 6.863 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001931/0.6132, allocations: 235.3 kB / 0.7243 GB, free: 6.738 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.6134, allocations: 46.41 kB / 0.7243 GB, free: 6.723 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.0006234/0.614, allocations: 356.9 kB / 0.7247 GB, free: 6.418 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002634/0.6143, allocations: 146.2 kB / 0.7248 GB, free: 6.273 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002404/0.6167, allocations: 1.144 MB / 0.7259 GB, free: 5.137 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.115e-05/0.6167, allocations: 4 kB / 0.7259 GB, free: 5.133 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.6167, allocations: 3.984 kB / 0.7259 GB, free: 5.129 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.6167, allocations: 7.938 kB / 0.726 GB, free: 5.121 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00538/0.6221, allocations: 2.512 MB / 0.7284 GB, free: 2.523 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/0.6221, allocations: 4 kB / 0.7284 GB, free: 2.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003723/0.6225, allocations: 83.88 kB / 0.7285 GB, free: 2.438 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007693/0.6233, allocations: 220.7 kB / 0.7287 GB, free: 2.219 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.253e-05/0.6234, allocations: 15.98 kB / 0.7287 GB, free: 2.203 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001286/0.6247, allocations: 0.7748 MB / 0.7295 GB, free: 1.402 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.6247, allocations: 4.031 kB / 0.7295 GB, free: 1.398 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003345/0.628, allocations: 1.199 MB / 0.7306 GB, free: 164 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006506/0.6287, allocations: 351.1 kB / 0.731 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002208/0.6289, allocations: 19.98 kB / 0.731 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009738/0.6299, allocations: 91.69 kB / 0.7311 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.094e-05/0.63, allocations: 52.38 kB / 0.7311 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.008e-05/0.6301, allocations: 23.98 kB / 0.7312 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001716/0.6318, allocations: 1.074 MB / 0.7322 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2e-07/0.6318, allocations: 0 / 0.7322 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001412/0.6332, allocations: 431.4 kB / 0.7326 GB, free: 14.12 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.000916/0.6341, allocations: 485.6 kB / 0.7331 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0021/0.6363, allocations: 0.8313 MB / 0.7339 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.6363, allocations: 0 / 0.7339 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001271/0.6376, allocations: 435.5 kB / 0.7343 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003084/0.6406, allocations: 0.6979 MB / 0.735 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003765/0.6444, allocations: 2.742 MB / 0.7377 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006721/0.6451, allocations: 1.176 MB / 0.7388 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001004/0.6461, allocations: 264.4 kB / 0.7391 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000271/0.6464, allocations: 115.3 kB / 0.7392 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.6464, allocations: 0 / 0.7392 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of Templates: time 0.05017/0.6966, allocations: 30.4 MB / 0.7689 GB, free: 9.352 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)