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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 80.39 kB / 20.98 MB, free: 3.574 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009475/0.0009475, allocations: 165 kB / 24.28 MB, free: 280 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.019/1.019, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.6217/0.6217, allocations: 110.2 MB / 371.3 MB, free: 12.52 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,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=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0.875 kB / 475.2 MB, free: 15.28 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.076e-05/3.276e-05, allocations: 2.312 kB / 475.2 MB, free: 15.27 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.063/0.06303, allocations: 73.58 MB / 0.5359 GB, free: 5.992 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.02442/0.08746, allocations: 19.61 MB / 0.555 GB, free: 2.332 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003277/0.09073, allocations: 95.19 kB / 0.5551 GB, free: 2.238 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002744/0.09348, allocations: 0.8343 MB / 0.5559 GB, free: 1.398 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008611/0.1021, allocations: 3.105 MB / 0.559 GB, free: 14.28 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004322/0.1064, allocations: 1.768 MB / 0.5607 GB, free: 12.51 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.00633/0.1127, allocations: 4.088 MB / 0.5647 GB, free: 8.406 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002452/0.1152, allocations: 1.177 MB / 0.5658 GB, free: 7.199 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005161/0.1204, allocations: 2.431 MB / 0.5682 GB, free: 4.766 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00221/0.1226, allocations: 1.052 MB / 0.5692 GB, free: 3.711 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003177/0.1229, allocations: 183.9 kB / 0.5694 GB, free: 3.531 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002527/0.1254, allocations: 1.173 MB / 0.5706 GB, free: 2.355 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003517/0.1258, allocations: 406.3 kB / 0.571 GB, free: 1.957 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008674/0.1266, allocations: 0.604 MB / 0.5715 GB, free: 1.352 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004185/0.1308, allocations: 2.04 MB / 0.5735 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.1308, allocations: 3.984 kB / 0.5735 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1308, allocations: 0 / 0.5735 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.661e-05/0.1308, allocations: 0 / 0.5735 GB, free: 15.3 MB / 0.4948 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.002832/0.1337, allocations: 2.092 MB / 0.5756 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.1337, allocations: 8.031 kB / 0.5756 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001587/0.1353, allocations: 479.5 kB / 0.576 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003436/0.1388, allocations: 1.581 MB / 0.5776 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.923e-05/0.1388, allocations: 86.03 kB / 0.5777 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.1389, allocations: 108 kB / 0.5778 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/0.1405, allocations: 1.096 MB / 0.5788 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.1406, allocations: 0 / 0.5788 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.999e-05/0.1406, allocations: 44 kB / 0.5789 GB, free: 9.551 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.235e-05/0.1407, allocations: 28 kB / 0.5789 GB, free: 9.523 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008586/0.1415, allocations: 479.3 kB / 0.5794 GB, free: 9.055 MB / 0.4948 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.006092/0.1476, allocations: 6.288 MB / 0.5855 GB, free: 2.59 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001224/0.1488, allocations: 476.3 kB / 0.586 GB, free: 2.117 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/0.149, allocations: 117.1 kB / 0.5861 GB, free: 2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000369/0.1494, allocations: 160.4 kB / 0.5862 GB, free: 1.844 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/0.1494, allocations: 41.89 kB / 0.5863 GB, free: 1.793 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=48): time 4.518e-06/0.1495, allocations: 0 / 0.5863 GB, free: 1.793 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48): time 0.002231/0.1517, allocations: 0.7377 MB / 0.587 GB, free: 1.047 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.1517, allocations: 59.91 kB / 0.5871 GB, free: 0.9766 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/0.1529, allocations: 1.041 MB / 0.5881 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.613e-05/0.1529, allocations: 37.7 kB / 0.5881 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004544/0.1534, allocations: 0.7608 MB / 0.5888 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.1535, allocations: 178.5 kB / 0.589 GB, free: 14.94 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000197/0.1537, allocations: 172.2 kB / 0.5892 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.1538, allocations: 0.5043 MB / 0.5897 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002346/0.1541, allocations: 105.9 kB / 0.5898 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005897/0.1547, allocations: 0.8554 MB / 0.5906 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006634/0.1553, allocations: 0.5959 MB / 0.5912 GB, free: 12.28 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.1553, allocations: 0 / 0.5912 GB, free: 12.28 MB / 0.5105 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001159/0.1565, allocations: 0.6992 MB / 0.5919 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.1565, allocations: 8 kB / 0.5919 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.1565, allocations: 8 kB / 0.5919 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005279/0.157, allocations: 168 kB / 0.5921 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003921/0.1574, allocations: 175.7 kB / 0.5922 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005307/0.158, allocations: 0.878 MB / 0.5931 GB, free: 10.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006455/0.1586, allocations: 135.4 kB / 0.5932 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.701e-05/0.1587, allocations: 47.97 kB / 0.5933 GB, free: 10.13 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (83): * Single equations (assignments): 82 * 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.0006978/0.1594, allocations: 208.3 kB / 0.5934 GB, free: 9.914 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001765/0.1596, allocations: 139.2 kB / 0.5936 GB, free: 9.777 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001284/0.1609, allocations: 0.7649 MB / 0.5943 GB, free: 9.027 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-05/0.1609, allocations: 11.94 kB / 0.5943 GB, free: 9.016 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1609, allocations: 0 / 0.5943 GB, free: 9.016 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.1609, allocations: 3.984 kB / 0.5943 GB, free: 9.012 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00315/0.164, allocations: 1.741 MB / 0.596 GB, free: 7.203 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.625e-06/0.1641, allocations: 0 / 0.596 GB, free: 7.203 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/0.1643, allocations: 79.83 kB / 0.5961 GB, free: 7.125 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005181/0.1648, allocations: 167.6 kB / 0.5963 GB, free: 6.957 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.904e-05/0.1649, allocations: 19.98 kB / 0.5963 GB, free: 6.938 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006951/0.1656, allocations: 0.8976 MB / 0.5972 GB, free: 6.008 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.446e-05/0.1656, allocations: 12.02 kB / 0.5972 GB, free: 5.996 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001567/0.1671, allocations: 0.8318 MB / 0.598 GB, free: 5.117 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004339/0.1676, allocations: 242.8 kB / 0.5982 GB, free: 4.879 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.1677, allocations: 12 kB / 0.5982 GB, free: 4.867 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004271/0.1681, allocations: 47.95 kB / 0.5983 GB, free: 4.82 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.121e-05/0.1682, allocations: 48.36 kB / 0.5983 GB, free: 4.773 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.439e-05/0.1683, allocations: 35.92 kB / 0.5984 GB, free: 4.738 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000871/0.1691, allocations: 0.6361 MB / 0.599 GB, free: 4.098 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.81e-07/0.1691, allocations: 0 / 0.599 GB, free: 4.098 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001398/0.1705, allocations: 486.7 kB / 0.5995 GB, free: 3.621 MB / 0.5105 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.0008012/0.1713, allocations: 485.2 kB / 0.5999 GB, free: 3.145 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001337/0.1727, allocations: 446.7 kB / 0.6003 GB, free: 2.707 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1727, allocations: 0 / 0.6003 GB, free: 2.707 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005752/0.1733, allocations: 246.4 kB / 0.6006 GB, free: 2.461 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001571/0.1748, allocations: 481.5 kB / 0.601 GB, free: 2.02 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003596/0.1784, allocations: 2.05 MB / 0.603 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.1786, allocations: 237.3 kB / 0.6033 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007399/0.1794, allocations: 216.2 kB / 0.6035 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002201/0.1796, allocations: 100.5 kB / 0.6036 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of SimCode: time 2.314e-06/0.1796, allocations: 4 kB / 0.6036 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of Templates: time 0.03935/0.2189, allocations: 25.5 MB / 0.6285 GB, free: 6.406 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 660] (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=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.574343393091112]