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.001158/0.001158, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001163/0.001162, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.16 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.8352/0.8352, allocations: 143.1 MB / 434.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 68.05 kB / 0.5962 GB, free: 12.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1733, allocations: 82.04 MB / 0.6763 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06612/0.2395, allocations: 70.44 MB / 0.7451 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4654/0.7049, allocations: 18.94 MB / 0.7636 GB, free: 18.8 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003586/0.7085, allocations: 70.09 kB / 0.7637 GB, free: 18.8 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003074/0.7117, allocations: 0.8279 MB / 0.7645 GB, free: 18.79 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01087/0.7226, allocations: 2.845 MB / 0.7672 GB, free: 18.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007038/0.7297, allocations: 1.655 MB / 0.7689 GB, free: 18.64 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008656/0.7383, allocations: 4.053 MB / 0.7728 GB, free: 18.49 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00331/0.7417, allocations: 1.457 MB / 0.7742 GB, free: 18.28 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006291/0.748, allocations: 1.8 MB / 0.776 GB, free: 17.9 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00294/0.751, allocations: 1.177 MB / 0.7771 GB, free: 17.52 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004489/0.7514, allocations: 177.7 kB / 0.7773 GB, free: 17.52 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004328/0.7558, allocations: 1.416 MB / 0.7787 GB, free: 17.08 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004272/0.7562, allocations: 387.4 kB / 0.7791 GB, free: 16.82 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001589/0.7578, allocations: 0.9131 MB / 0.78 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006675/0.7645, allocations: 3.287 MB / 0.7832 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.7645, allocations: 3.938 kB / 0.7832 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.694e-06/0.7645, allocations: 1.156 kB / 0.7832 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.68e-05/0.7646, allocations: 0 / 0.7832 GB, free: 15.18 MB / 0.5762 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.004297/0.7689, allocations: 2.028 MB / 0.7852 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.7689, allocations: 9.688 kB / 0.7852 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002419/0.7714, allocations: 446.7 kB / 0.7856 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002926/0.7743, allocations: 1.557 MB / 0.7871 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.932e-05/0.7744, allocations: 86.03 kB / 0.7872 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/0.7746, allocations: 102.1 kB / 0.7873 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002672/0.7772, allocations: 1.32 MB / 0.7886 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.078e-05/0.7773, allocations: 2.062 kB / 0.7886 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.7774, allocations: 46.47 kB / 0.7886 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.875e-05/0.7774, allocations: 26.03 kB / 0.7886 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002697/0.7801, allocations: 1.096 MB / 0.7897 GB, free: 11.59 MB / 0.5762 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.008107/0.7883, allocations: 7.503 MB / 0.797 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003213/0.7915, allocations: 0.7995 MB / 0.7978 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006371/0.7921, allocations: 289.5 kB / 0.7981 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001077/0.7932, allocations: 1.726 MB / 0.7998 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.7933, allocations: 43.06 kB / 0.7998 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=48): time 3.065e-06/0.7933, allocations: 0 / 0.7998 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.004917/0.7982, allocations: 1.328 MB / 0.8011 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.7982, allocations: 63.03 kB / 0.8012 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002076/0.8003, allocations: 1.547 MB / 0.8027 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.628e-05/0.8004, allocations: 42.23 kB / 0.8027 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004234/0.8008, allocations: 0.6723 MB / 0.8034 GB, free: 172 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.801, allocations: 173.6 kB / 0.8036 GB, free: 24 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003157/0.8013, allocations: 172.5 kB / 0.8037 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.8014, allocations: 331.9 kB / 0.804 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009415/0.8024, allocations: 364.5 kB / 0.8044 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00122/0.8036, allocations: 0.6674 MB / 0.805 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001791/0.8054, allocations: 0.8825 MB / 0.8059 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.8054, allocations: 2.219 kB / 0.8059 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002989/0.8084, allocations: 1.194 MB / 0.8071 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.8085, allocations: 18.83 kB / 0.8071 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.8085, allocations: 8.438 kB / 0.8071 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009085/0.8094, allocations: 218.4 kB / 0.8073 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007461/0.8102, allocations: 185.3 kB / 0.8075 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008956/0.8111, allocations: 0.7219 MB / 0.8082 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001723/0.8128, allocations: 214.5 kB / 0.8084 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.67e-05/0.8129, allocations: 40.23 kB / 0.8084 GB, free: 12.64 MB / 0.5919 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.0006838/0.8136, allocations: 352.2 kB / 0.8088 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002802/0.8139, allocations: 150.3 kB / 0.8089 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002435/0.8163, allocations: 1.147 MB / 0.81 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.311e-05/0.8164, allocations: 9.453 kB / 0.81 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.8164, allocations: 10.12 kB / 0.81 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.8164, allocations: 3.984 kB / 0.81 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005491/0.8219, allocations: 2.521 MB / 0.8125 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/0.8219, allocations: 0 / 0.8125 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003692/0.8223, allocations: 92.12 kB / 0.8126 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007997/0.8231, allocations: 210.5 kB / 0.8128 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.611e-05/0.8232, allocations: 12.75 kB / 0.8128 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001314/0.8245, allocations: 0.773 MB / 0.8136 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.8245, allocations: 10.62 kB / 0.8136 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003601/0.8281, allocations: 1.198 MB / 0.8147 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000857/0.829, allocations: 354.4 kB / 0.8151 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002405/0.8293, allocations: 14.88 kB / 0.8151 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009034/0.8302, allocations: 75.72 kB / 0.8152 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.8303, allocations: 43.22 kB / 0.8152 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-05/0.8304, allocations: 24.55 kB / 0.8152 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001802/0.8322, allocations: 1.083 MB / 0.8163 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.583e-06/0.8322, allocations: 4 kB / 0.8163 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001587/0.8338, allocations: 450.7 kB / 0.8167 GB, free: 7.086 MB / 0.5919 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.001008/0.8348, allocations: 485.3 kB / 0.8172 GB, free: 6.652 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002232/0.837, allocations: 0.8542 MB / 0.818 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/0.8371, allocations: 4.094 kB / 0.818 GB, free: 5.801 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001293/0.8384, allocations: 447.6 kB / 0.8185 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003453/0.8418, allocations: 0.7414 MB / 0.8192 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004069/0.8459, allocations: 2.27 MB / 0.8214 GB, free: 2.32 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007005/0.8467, allocations: 1.165 MB / 0.8225 GB, free: 1.125 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004006/0.8471, allocations: 119.3 kB / 0.8226 GB, free: 1.008 MB / 0.5919 GB Notification: Performance of SimCode: time 1.452e-06/0.8471, allocations: 0 / 0.8226 GB, free: 1.008 MB / 0.5919 GB Notification: Performance of Templates: time 0.04722/0.8943, allocations: 34.59 MB / 0.8564 GB, free: 14.69 MB / 0.6387 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)