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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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.001253/0.001253, allocations: 99.94 kB / 15.05 MB, free: 1.113 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.001577/0.001578, allocations: 177.3 kB / 15.94 MB, free: 228 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.432/1.432, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.053/1.053, allocations: 143.3 MB / 434.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003405/0.0003406, allocations: 8 kB / 0.5158 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1674, allocations: 83.4 MB / 0.5973 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.3447/0.5122, allocations: 59.13 MB / 0.655 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02031/0.5326, allocations: 15.09 MB / 0.6697 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002509/0.5351, allocations: 56.28 kB / 0.6698 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00252/0.5376, allocations: 0.7008 MB / 0.6705 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00764/0.5453, allocations: 2.304 MB / 0.6727 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005088/0.5504, allocations: 1.556 MB / 0.6742 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005399/0.5558, allocations: 2.276 MB / 0.6765 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002501/0.5583, allocations: 1.031 MB / 0.6775 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004675/0.563, allocations: 1.269 MB / 0.6787 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002898/0.566, allocations: 0.7831 MB / 0.6795 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005183/0.5665, allocations: 60.72 kB / 0.6795 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004267/0.5708, allocations: 0.9765 MB / 0.6805 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004297/0.5712, allocations: 240.1 kB / 0.6807 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009679/0.5722, allocations: 373.4 kB / 0.6811 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00521/0.5774, allocations: 2.435 MB / 0.6835 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.5775, allocations: 0 / 0.6835 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.005e-06/0.5775, allocations: 0 / 0.6835 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.138e-05/0.5776, allocations: 0 / 0.6835 GB, free: 5.992 MB / 0.5137 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.004975/0.5826, allocations: 1.726 MB / 0.6851 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.5826, allocations: 8.75 kB / 0.6851 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002945/0.5856, allocations: 0.5005 MB / 0.6856 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003611/0.5892, allocations: 1.421 MB / 0.687 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004059/0.5896, allocations: 153.3 kB / 0.6872 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002207/0.5899, allocations: 102.1 kB / 0.6873 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003043/0.5929, allocations: 1.317 MB / 0.6886 GB, free: 3.078 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/0.593, allocations: 1.375 kB / 0.6886 GB, free: 3.078 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/0.5931, allocations: 43.59 kB / 0.6886 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.612e-05/0.5931, allocations: 25.16 kB / 0.6886 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003089/0.5962, allocations: 1.157 MB / 0.6898 GB, free: 2.641 MB / 0.5137 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.01077/0.607, allocations: 7.227 MB / 0.6968 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003402/0.6104, allocations: 0.8979 MB / 0.6977 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001294/0.6117, allocations: 1.721 MB / 0.6994 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.6118, allocations: 37.38 kB / 0.6994 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=48): time 2.665e-06/0.6118, allocations: 0 / 0.6994 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48): time 0.005569/0.6174, allocations: 1.441 MB / 0.7008 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.6174, allocations: 56.94 kB / 0.7009 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00286/0.6203, allocations: 1.543 MB / 0.7024 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000138/0.6205, allocations: 42.2 kB / 0.7024 GB, free: 9.371 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006019/0.6211, allocations: 0.6645 MB / 0.7031 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002014/0.6213, allocations: 170.8 kB / 0.7032 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.665e-05/0.6213, allocations: 15.81 kB / 0.7032 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.6215, allocations: 335.7 kB / 0.7036 GB, free: 8.293 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001102/0.6226, allocations: 392.1 kB / 0.7039 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001278/0.6239, allocations: 0.6497 MB / 0.7046 GB, free: 7.574 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.625, allocations: 445.5 kB / 0.705 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.625, allocations: 2.312 kB / 0.705 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003413/0.6284, allocations: 1.213 MB / 0.7062 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.6285, allocations: 11.58 kB / 0.7062 GB, free: 6.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.6285, allocations: 7.156 kB / 0.7062 GB, free: 6.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009549/0.6295, allocations: 226.1 kB / 0.7064 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008776/0.6303, allocations: 197.7 kB / 0.7066 GB, free: 6.586 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009227/0.6313, allocations: 0.7248 MB / 0.7073 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002211/0.6335, allocations: 265.5 kB / 0.7076 GB, free: 5.824 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/0.6336, allocations: 41.98 kB / 0.7076 GB, free: 5.812 MB / 0.5294 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.0009076/0.6346, allocations: 354.6 kB / 0.7079 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002945/0.6349, allocations: 143.9 kB / 0.7081 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002604/0.6375, allocations: 1.182 MB / 0.7092 GB, free: 4.82 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-05/0.6375, allocations: 14.05 kB / 0.7092 GB, free: 4.812 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.6375, allocations: 0 / 0.7092 GB, free: 4.812 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.6375, allocations: 5.266 kB / 0.7092 GB, free: 4.809 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006384/0.6439, allocations: 2.609 MB / 0.7118 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.644, allocations: 1.188 kB / 0.7118 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003986/0.6444, allocations: 95.89 kB / 0.7119 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007963/0.6452, allocations: 222.6 kB / 0.7121 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.538e-05/0.6452, allocations: 23.05 kB / 0.7121 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001374/0.6466, allocations: 0.7991 MB / 0.7129 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/0.6466, allocations: 2.344 kB / 0.7129 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003855/0.6505, allocations: 1.381 MB / 0.7143 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009355/0.6514, allocations: 379 kB / 0.7146 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002033/0.6517, allocations: 15.16 kB / 0.7146 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/0.6527, allocations: 108.4 kB / 0.7147 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.176e-05/0.6528, allocations: 49.67 kB / 0.7148 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.684e-05/0.6528, allocations: 23.42 kB / 0.7148 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002056/0.6549, allocations: 1.09 MB / 0.7159 GB, free: 308 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6549, allocations: 0 / 0.7159 GB, free: 308 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001667/0.6566, allocations: 437.3 kB / 0.7163 GB, free: 204 kB / 0.5294 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.0009826/0.6576, allocations: 485 kB / 0.7167 GB, free: 15.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002272/0.6599, allocations: 0.8709 MB / 0.7176 GB, free: 15.36 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.6599, allocations: 4.25 kB / 0.7176 GB, free: 15.36 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001316/0.6612, allocations: 479.3 kB / 0.7181 GB, free: 14.89 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003375/0.6646, allocations: 0.6844 MB / 0.7187 GB, free: 14.21 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00441/0.669, allocations: 2.691 MB / 0.7214 GB, free: 11.47 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006601/0.6697, allocations: 1.203 MB / 0.7225 GB, free: 10.24 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001172/0.6709, allocations: 270 kB / 0.7228 GB, free: 9.988 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002675/0.6712, allocations: 115.4 kB / 0.7229 GB, free: 9.875 MB / 0.545 GB Notification: Performance of SimCode: time 4.81e-07/0.6712, allocations: 4 kB / 0.7229 GB, free: 9.871 MB / 0.545 GB Notification: Performance of Templates: time 0.04871/0.7199, allocations: 29.74 MB / 0.7519 GB, free: 12.56 MB / 0.5762 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: