Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.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.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva") translateModel(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 108.8 kB / 16.41 MB, free: 6.016 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.001451/0.001451, allocations: 182.1 kB / 17.34 MB, free: 5.629 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.15 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.8739/0.8739, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 63.53 kB / 0.5962 GB, free: 12.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1498, allocations: 82.04 MB / 0.6763 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva): time 0.06464/0.2144, allocations: 61.26 MB / 0.7361 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01688/0.2313, allocations: 12.02 MB / 0.7479 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001727/0.233, allocations: 59.62 kB / 0.7479 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00179/0.2348, allocations: 0.7025 MB / 0.7486 GB, free: 80 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.2949/0.5297, allocations: 2.062 MB / 0.7506 GB, free: 19.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00298/0.5327, allocations: 1.211 MB / 0.7518 GB, free: 19.11 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004695/0.5374, allocations: 3.081 MB / 0.7548 GB, free: 19.11 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001562/0.539, allocations: 0.8922 MB / 0.7557 GB, free: 19.02 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003484/0.5425, allocations: 1.364 MB / 0.757 GB, free: 19.02 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00201/0.5445, allocations: 0.8901 MB / 0.7579 GB, free: 18.87 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000352/0.5448, allocations: 114.6 kB / 0.758 GB, free: 18.87 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003534/0.5484, allocations: 1.446 MB / 0.7594 GB, free: 18.87 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003811/0.5487, allocations: 302.7 kB / 0.7597 GB, free: 18.81 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001194/0.5499, allocations: 0.6922 MB / 0.7604 GB, free: 18.62 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004143/0.5541, allocations: 2.42 MB / 0.7627 GB, free: 18.3 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.5541, allocations: 4 kB / 0.7627 GB, free: 18.3 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5541, allocations: 0 / 0.7627 GB, free: 18.3 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.674e-05/0.5541, allocations: 1.094 kB / 0.7627 GB, free: 18.3 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003603/0.5577, allocations: 1.773 MB / 0.7645 GB, free: 17.32 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.5578, allocations: 9.406 kB / 0.7645 GB, free: 17.32 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002169/0.5599, allocations: 415.2 kB / 0.7649 GB, free: 17.23 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002331/0.5623, allocations: 1.172 MB / 0.766 GB, free: 16.84 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.872e-05/0.5623, allocations: 66.34 kB / 0.7661 GB, free: 16.84 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/0.5624, allocations: 80.78 kB / 0.7662 GB, free: 16.84 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002019/0.5645, allocations: 1.004 MB / 0.7671 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.612e-05/0.5645, allocations: 4.562 kB / 0.7671 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.367e-05/0.5646, allocations: 36.5 kB / 0.7672 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/0.5646, allocations: 19.47 kB / 0.7672 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002163/0.5668, allocations: 0.8459 MB / 0.768 GB, free: 16.61 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.005574/0.5723, allocations: 5.23 MB / 0.7731 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003166/0.5755, allocations: 0.7593 MB / 0.7739 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006738/0.5762, allocations: 278 kB / 0.7741 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005197/0.5767, allocations: 0.9111 MB / 0.775 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.5767, allocations: 36.5 kB / 0.7751 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.946e-06/0.5767, allocations: 0 / 0.7751 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.006778/0.5835, allocations: 1.691 MB / 0.7767 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.407e-05/0.5835, allocations: 56.53 kB / 0.7768 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001554/0.5851, allocations: 1.08 MB / 0.7778 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.273e-05/0.5851, allocations: 35.67 kB / 0.7779 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000345/0.5855, allocations: 0.5434 MB / 0.7784 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.5856, allocations: 163 kB / 0.7785 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002172/0.5858, allocations: 141.5 kB / 0.7787 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.396e-05/0.5859, allocations: 326.1 kB / 0.779 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008354/0.5867, allocations: 305.8 kB / 0.7793 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009533/0.5877, allocations: 0.5294 MB / 0.7798 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001508/0.5892, allocations: 0.7198 MB / 0.7805 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.5892, allocations: 5.375 kB / 0.7805 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002602/0.5918, allocations: 1.009 MB / 0.7815 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.5918, allocations: 7.188 kB / 0.7815 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.5918, allocations: 5.156 kB / 0.7815 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001191/0.593, allocations: 302.2 kB / 0.7818 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005345/0.5935, allocations: 132.1 kB / 0.7819 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/0.5948, allocations: 0.9073 MB / 0.7828 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/0.5961, allocations: 148.5 kB / 0.7829 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.076e-05/0.5961, allocations: 36.61 kB / 0.783 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001182/0.5973, allocations: 0.5118 MB / 0.7835 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009271/0.5982, allocations: 0.519 MB / 0.784 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001425/0.5997, allocations: 0.7005 MB / 0.7847 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.857e-06/0.5997, allocations: 2.906 kB / 0.7847 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002448/0.6021, allocations: 1.006 MB / 0.7857 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.6021, allocations: 7.594 kB / 0.7857 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.6021, allocations: 6.688 kB / 0.7857 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00098/0.6031, allocations: 293.1 kB / 0.7859 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004894/0.6036, allocations: 124 kB / 0.7861 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001111/0.6047, allocations: 0.9022 MB / 0.7869 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/0.606, allocations: 136.9 kB / 0.7871 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.66e-05/0.6061, allocations: 33.66 kB / 0.7871 GB, free: 8.27 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 56 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002275/0.6063, allocations: 224.5 kB / 0.7873 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001757/0.6065, allocations: 116.8 kB / 0.7874 GB, free: 8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002179/0.6087, allocations: 0.9044 MB / 0.7883 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.536e-05/0.6087, allocations: 6.703 kB / 0.7883 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.6087, allocations: 5.344 kB / 0.7883 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.6087, allocations: 3.234 kB / 0.7883 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004458/0.6132, allocations: 2.145 MB / 0.7904 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.293e-06/0.6132, allocations: 2.906 kB / 0.7904 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002523/0.6134, allocations: 67.42 kB / 0.7905 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008478/0.6143, allocations: 289.7 kB / 0.7908 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.53e-05/0.6143, allocations: 19.23 kB / 0.7908 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001117/0.6154, allocations: 0.9343 MB / 0.7917 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.6154, allocations: 2.688 kB / 0.7917 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003027/0.6184, allocations: 1.153 MB / 0.7928 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000442/0.6189, allocations: 267 kB / 0.7931 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001489/0.619, allocations: 8.719 kB / 0.7931 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007425/0.6198, allocations: 74.53 kB / 0.7932 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.295e-05/0.6199, allocations: 40.45 kB / 0.7932 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.912e-05/0.6199, allocations: 22.77 kB / 0.7932 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009742/0.6209, allocations: 0.7566 MB / 0.794 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6209, allocations: 0 / 0.794 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001505/0.6224, allocations: 0.5755 MB / 0.7945 GB, free: 4.121 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000709/0.6231, allocations: 392.3 kB / 0.7949 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002762/0.6259, allocations: 1.078 MB / 0.7959 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.6259, allocations: 0 / 0.7959 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000742/0.6266, allocations: 328.5 kB / 0.7963 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002007/0.6286, allocations: 0.5116 MB / 0.7968 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004384/0.633, allocations: 2.091 MB / 0.7988 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.6334, allocations: 1.059 MB / 0.7998 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002359/0.6336, allocations: 87.16 kB / 0.7999 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of SimCode: time 6.72e-07/0.6336, allocations: 0 / 0.7999 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of Templates: time 0.03417/0.6678, allocations: 24.42 MB / 0.8238 GB, free: 10.36 MB / 0.6075 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)