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.005309/0.005309, allocations: 101.8 kB / 15.73 MB, free: 6.035 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.001219/0.001219, allocations: 192.7 kB / 16.67 MB, free: 5.973 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.293/1.293, allocations: 222.9 MB / 240.4 MB, free: 4.297 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.9293/0.9293, allocations: 143 MB / 433.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 71.88 kB / 0.5955 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4036/0.4048, allocations: 82.03 MB / 0.6756 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06411/0.4689, allocations: 70.45 MB / 0.7444 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02312/0.4921, allocations: 18.95 MB / 0.7629 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00268/0.4948, allocations: 71.56 kB / 0.763 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002639/0.4975, allocations: 0.8229 MB / 0.7638 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008586/0.5061, allocations: 2.842 MB / 0.7666 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004753/0.5109, allocations: 1.662 MB / 0.7682 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006377/0.5173, allocations: 4.05 MB / 0.7721 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002448/0.5197, allocations: 1.445 MB / 0.7736 GB, free: 1.828 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004228/0.524, allocations: 1.811 MB / 0.7753 GB, free: 12 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002497/0.5265, allocations: 1.171 MB / 0.7765 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004602/0.527, allocations: 176 kB / 0.7766 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003322/0.5303, allocations: 1.423 MB / 0.778 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005509/0.5309, allocations: 382.6 kB / 0.7784 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001552/0.5324, allocations: 0.9216 MB / 0.7793 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005086/0.5375, allocations: 3.278 MB / 0.7825 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.5375, allocations: 4 kB / 0.7825 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5375, allocations: 0 / 0.7825 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.847e-05/0.5376, allocations: 3.938 kB / 0.7825 GB, free: 8.645 MB / 0.6075 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.003776/0.5414, allocations: 2.027 MB / 0.7845 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.5415, allocations: 8.031 kB / 0.7845 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002153/0.5436, allocations: 446.4 kB / 0.7849 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00244/0.5461, allocations: 1.563 MB / 0.7864 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.561e-05/0.5461, allocations: 78.03 kB / 0.7865 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/0.5463, allocations: 108 kB / 0.7866 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002424/0.5487, allocations: 1.313 MB / 0.7879 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.5488, allocations: 3.938 kB / 0.7879 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.67e-05/0.5489, allocations: 48 kB / 0.788 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.946e-05/0.5489, allocations: 24 kB / 0.788 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002491/0.5514, allocations: 1.101 MB / 0.789 GB, free: 1.707 MB / 0.6075 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.00781/0.5592, allocations: 7.506 MB / 0.7964 GB, free: 9.684 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003014/0.5622, allocations: 0.8024 MB / 0.7972 GB, free: 8.875 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005715/0.5628, allocations: 282 kB / 0.7974 GB, free: 8.594 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001193/0.564, allocations: 1.722 MB / 0.7991 GB, free: 6.484 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.564, allocations: 46.98 kB / 0.7992 GB, free: 6.43 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=48): time 4.228e-06/0.5641, allocations: 0 / 0.7992 GB, free: 6.43 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48): time 0.004625/0.5687, allocations: 1.338 MB / 0.8005 GB, free: 5.062 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.5687, allocations: 55.84 kB / 0.8005 GB, free: 4.996 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002087/0.5708, allocations: 1.542 MB / 0.802 GB, free: 3.445 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.969e-05/0.5709, allocations: 37.7 kB / 0.8021 GB, free: 3.402 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.00054/0.5715, allocations: 0.6807 MB / 0.8027 GB, free: 2.715 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.5716, allocations: 169.6 kB / 0.8029 GB, free: 2.547 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002649/0.5719, allocations: 178.3 kB / 0.8031 GB, free: 2.363 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.572, allocations: 330 kB / 0.8034 GB, free: 2.035 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009184/0.5729, allocations: 365.8 kB / 0.8037 GB, free: 1.68 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001149/0.5741, allocations: 0.6661 MB / 0.8044 GB, free: 0.8867 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001712/0.5758, allocations: 0.8789 MB / 0.8052 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.5758, allocations: 11.94 kB / 0.8052 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002739/0.5785, allocations: 1.186 MB / 0.8064 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.5786, allocations: 8 kB / 0.8064 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.5786, allocations: 8 kB / 0.8064 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00088/0.5795, allocations: 228.6 kB / 0.8066 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007297/0.5802, allocations: 187.7 kB / 0.8068 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008475/0.5811, allocations: 0.7278 MB / 0.8075 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/0.5825, allocations: 218.6 kB / 0.8077 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.822e-05/0.5825, allocations: 39.98 kB / 0.8078 GB, free: 13.27 MB / 0.6387 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.0004814/0.583, allocations: 353.6 kB / 0.8081 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002179/0.5833, allocations: 146.2 kB / 0.8082 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002314/0.5856, allocations: 1.147 MB / 0.8094 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.921e-05/0.5856, allocations: 11.98 kB / 0.8094 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.5856, allocations: 0 / 0.8094 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.5856, allocations: 7.984 kB / 0.8094 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004773/0.5904, allocations: 2.517 MB / 0.8118 GB, free: 8.992 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.5904, allocations: 4 kB / 0.8118 GB, free: 8.988 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003413/0.5908, allocations: 88.06 kB / 0.8119 GB, free: 8.902 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006832/0.5915, allocations: 208.6 kB / 0.8121 GB, free: 8.695 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.611e-05/0.5915, allocations: 16 kB / 0.8121 GB, free: 8.68 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001212/0.5927, allocations: 0.7786 MB / 0.8129 GB, free: 7.875 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.5927, allocations: 3.938 kB / 0.8129 GB, free: 7.871 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003161/0.5959, allocations: 1.199 MB / 0.8141 GB, free: 6.633 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004252/0.5963, allocations: 350.9 kB / 0.8144 GB, free: 6.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001714/0.5965, allocations: 16 kB / 0.8144 GB, free: 6.254 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008437/0.5974, allocations: 75.91 kB / 0.8145 GB, free: 6.18 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.821e-05/0.5975, allocations: 40.64 kB / 0.8145 GB, free: 6.141 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.877e-05/0.5975, allocations: 27.98 kB / 0.8146 GB, free: 6.113 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001528/0.5991, allocations: 1.086 MB / 0.8156 GB, free: 5.031 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5991, allocations: 4 kB / 0.8156 GB, free: 5.027 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001141/0.6002, allocations: 451.4 kB / 0.8161 GB, free: 4.586 MB / 0.6387 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.0007902/0.601, allocations: 484.5 kB / 0.8165 GB, free: 4.121 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001968/0.603, allocations: 0.8486 MB / 0.8174 GB, free: 3.273 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.603, allocations: 4 kB / 0.8174 GB, free: 3.27 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001246/0.6043, allocations: 439.6 kB / 0.8178 GB, free: 2.844 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002777/0.6071, allocations: 0.7409 MB / 0.8185 GB, free: 2.113 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003315/0.6104, allocations: 2.246 MB / 0.8207 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000658/0.6111, allocations: 1.176 MB / 0.8218 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007932/0.6119, allocations: 270.7 kB / 0.8221 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002476/0.6121, allocations: 111.4 kB / 0.8222 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of SimCode: time 1.593e-06/0.6121, allocations: 0 / 0.8222 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of Templates: time 0.0475/0.6596, allocations: 32.11 MB / 0.8536 GB, free: 14.52 MB / 0.6856 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)