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.001136/0.001136, allocations: 113 kB / 16.37 MB, free: 6.344 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.001167/0.001167, allocations: 185.5 kB / 17.3 MB, free: 5.898 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.19/1.19, allocations: 222.9 MB / 241 MB, free: 15.17 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.7921/0.7921, allocations: 143.1 MB / 434.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001131, allocations: 60.84 kB / 0.5961 GB, free: 12.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1349, allocations: 82.03 MB / 0.6762 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.05787/0.1928, allocations: 70.46 MB / 0.745 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3507/0.5435, allocations: 18.93 MB / 0.7635 GB, free: 18.8 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002592/0.5462, allocations: 70.27 kB / 0.7636 GB, free: 18.8 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002208/0.5484, allocations: 0.8256 MB / 0.7644 GB, free: 18.79 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008466/0.5569, allocations: 2.851 MB / 0.7672 GB, free: 18.67 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004926/0.5618, allocations: 1.657 MB / 0.7688 GB, free: 18.63 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006643/0.5685, allocations: 4.05 MB / 0.7728 GB, free: 18.48 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002889/0.5714, allocations: 1.462 MB / 0.7742 GB, free: 18.27 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004758/0.5762, allocations: 1.762 MB / 0.7759 GB, free: 17.89 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002612/0.5788, allocations: 1.178 MB / 0.7771 GB, free: 17.49 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005878/0.5794, allocations: 179.4 kB / 0.7772 GB, free: 17.48 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003965/0.5834, allocations: 1.419 MB / 0.7786 GB, free: 17.04 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006056/0.584, allocations: 386.7 kB / 0.779 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00209/0.5861, allocations: 0.9145 MB / 0.7799 GB, free: 16.2 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005247/0.5914, allocations: 3.273 MB / 0.7831 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.5914, allocations: 0 / 0.7831 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.003e-06/0.5914, allocations: 1.031 kB / 0.7831 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.674e-05/0.5915, allocations: 3.938 kB / 0.7831 GB, free: 15.16 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.003826/0.5953, allocations: 2.031 MB / 0.7851 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.5954, allocations: 8.625 kB / 0.7851 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002158/0.5975, allocations: 441.8 kB / 0.7855 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002294/0.5998, allocations: 1.556 MB / 0.787 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.268e-05/0.5999, allocations: 82.03 kB / 0.7871 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/0.6, allocations: 102.1 kB / 0.7872 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002134/0.6022, allocations: 1.317 MB / 0.7885 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/0.6022, allocations: 5.031 kB / 0.7885 GB, free: 12 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.899e-05/0.6023, allocations: 47.03 kB / 0.7885 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.999e-05/0.6023, allocations: 26.44 kB / 0.7885 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002346/0.6047, allocations: 1.102 MB / 0.7896 GB, free: 11.57 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.006217/0.6109, allocations: 7.506 MB / 0.7969 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002776/0.6137, allocations: 0.8048 MB / 0.7977 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005382/0.6142, allocations: 282.7 kB / 0.798 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007401/0.615, allocations: 1.722 MB / 0.7997 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.906e-05/0.615, allocations: 41.11 kB / 0.7997 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=48): time 2.224e-06/0.615, allocations: 4 kB / 0.7997 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.004239/0.6193, allocations: 1.337 MB / 0.801 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.309e-05/0.6193, allocations: 57.91 kB / 0.8011 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00192/0.6212, allocations: 1.545 MB / 0.8026 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.225e-05/0.6213, allocations: 39.52 kB / 0.8026 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003864/0.6217, allocations: 0.6737 MB / 0.8033 GB, free: 144 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.6218, allocations: 171.8 kB / 0.8035 GB, free: 0 / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002915/0.6221, allocations: 172.1 kB / 0.8036 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.6222, allocations: 337 kB / 0.8039 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008852/0.6231, allocations: 364.4 kB / 0.8043 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/0.6242, allocations: 0.6544 MB / 0.8049 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001638/0.6258, allocations: 0.8902 MB / 0.8058 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.6259, allocations: 6.469 kB / 0.8058 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002647/0.6285, allocations: 1.192 MB / 0.807 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.6285, allocations: 9.344 kB / 0.807 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.6286, allocations: 8.031 kB / 0.807 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007724/0.6293, allocations: 222.5 kB / 0.8072 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007125/0.6301, allocations: 198.5 kB / 0.8074 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007604/0.6308, allocations: 0.7235 MB / 0.8081 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/0.6323, allocations: 205.3 kB / 0.8083 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.262e-05/0.6324, allocations: 47.03 kB / 0.8083 GB, free: 12.61 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.0005027/0.6329, allocations: 358.3 kB / 0.8087 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002451/0.6332, allocations: 150.3 kB / 0.8088 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002428/0.6356, allocations: 1.143 MB / 0.8099 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.163e-05/0.6357, allocations: 15.95 kB / 0.81 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.6357, allocations: 0 / 0.81 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.6357, allocations: 0 / 0.81 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00548/0.6412, allocations: 2.525 MB / 0.8124 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.6412, allocations: 0 / 0.8124 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003388/0.6415, allocations: 83.91 kB / 0.8125 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007089/0.6423, allocations: 213.9 kB / 0.8127 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.459e-05/0.6423, allocations: 17.33 kB / 0.8127 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00118/0.6435, allocations: 0.765 MB / 0.8135 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.6435, allocations: 6.469 kB / 0.8135 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003217/0.6468, allocations: 1.2 MB / 0.8146 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000699/0.6475, allocations: 359.1 kB / 0.815 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003605/0.6478, allocations: 24.77 kB / 0.815 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.6489, allocations: 68.34 kB / 0.8151 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.261e-05/0.649, allocations: 39.83 kB / 0.8151 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-05/0.649, allocations: 25.14 kB / 0.8151 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001866/0.6509, allocations: 1.089 MB / 0.8162 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6509, allocations: 0 / 0.8162 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001599/0.6525, allocations: 445.3 kB / 0.8166 GB, free: 7.113 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.001063/0.6536, allocations: 488.8 kB / 0.8171 GB, free: 6.672 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002146/0.6558, allocations: 0.8493 MB / 0.8179 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.6558, allocations: 8.125 kB / 0.8179 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001256/0.657, allocations: 435.3 kB / 0.8183 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003535/0.6606, allocations: 0.7496 MB / 0.8191 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00408/0.6647, allocations: 2.278 MB / 0.8213 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007314/0.6654, allocations: 1.161 MB / 0.8224 GB, free: 1.148 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003807/0.6658, allocations: 123.3 kB / 0.8226 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of SimCode: time 7.51e-07/0.6658, allocations: 3.938 kB / 0.8226 GB, free: 1.023 MB / 0.5919 GB Notification: Performance of Templates: time 0.04235/0.7082, allocations: 34.42 MB / 0.8562 GB, free: 14.88 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)