Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y.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_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y") translateModel(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 105.1 kB / 16.41 MB, free: 6.465 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.001492/0.001492, allocations: 187 kB / 17.34 MB, free: 5.715 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.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.07 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.8658/0.8658, allocations: 143.1 MB / 434.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 60.27 kB / 0.5962 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1411, allocations: 82.04 MB / 0.6763 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y): time 0.3706/0.5117, allocations: 75.27 MB / 0.7498 GB, free: 27.31 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01533/0.5271, allocations: 12.78 MB / 0.7623 GB, free: 27.15 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002372/0.5294, allocations: 65.88 kB / 0.7623 GB, free: 27.15 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002141/0.5316, allocations: 0.8635 MB / 0.7632 GB, free: 27.14 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007105/0.5387, allocations: 2.596 MB / 0.7657 GB, free: 27.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003403/0.5421, allocations: 1.404 MB / 0.7671 GB, free: 27.01 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006461/0.5486, allocations: 4.384 MB / 0.7714 GB, free: 26.52 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001844/0.5504, allocations: 1.172 MB / 0.7725 GB, free: 26.06 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004005/0.5544, allocations: 1.662 MB / 0.7741 GB, free: 25.34 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00257/0.557, allocations: 1.201 MB / 0.7753 GB, free: 24.86 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003032/0.5573, allocations: 165.7 kB / 0.7755 GB, free: 24.86 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003453/0.5607, allocations: 1.406 MB / 0.7768 GB, free: 24.42 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003468/0.5611, allocations: 415.4 kB / 0.7772 GB, free: 24.16 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001027/0.5621, allocations: 0.8993 MB / 0.7781 GB, free: 23.61 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004115/0.5662, allocations: 3.033 MB / 0.7811 GB, free: 22.62 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.5662, allocations: 1.125 kB / 0.7811 GB, free: 22.62 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5662, allocations: 0 / 0.7811 GB, free: 22.62 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.79e-05/0.5663, allocations: 0 / 0.7811 GB, free: 22.62 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003528/0.5698, allocations: 2.137 MB / 0.7832 GB, free: 21.24 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.5698, allocations: 14.47 kB / 0.7832 GB, free: 21.23 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008409/0.5707, allocations: 234.8 kB / 0.7834 GB, free: 21.14 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002326/0.573, allocations: 1.535 MB / 0.7849 GB, free: 20.25 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.761e-05/0.573, allocations: 75.72 kB / 0.785 GB, free: 20.22 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001432/0.5732, allocations: 100.7 kB / 0.7851 GB, free: 20.19 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001895/0.5751, allocations: 1.104 MB / 0.7861 GB, free: 19.7 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.143e-05/0.5751, allocations: 5.312 kB / 0.7862 GB, free: 19.7 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.19e-05/0.5752, allocations: 40.25 kB / 0.7862 GB, free: 19.66 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.452e-05/0.5752, allocations: 26.16 kB / 0.7862 GB, free: 19.66 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001742/0.577, allocations: 0.887 MB / 0.7871 GB, free: 19.36 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.005452/0.5824, allocations: 4.928 MB / 0.7919 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001227/0.5837, allocations: 0.5915 MB / 0.7925 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000602/0.5843, allocations: 327.3 kB / 0.7928 GB, free: 15 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004381/0.5847, allocations: 0.8334 MB / 0.7936 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.5847, allocations: 40.47 kB / 0.7936 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 2.324e-06/0.5847, allocations: 0 / 0.7936 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.006696/0.5914, allocations: 1.685 MB / 0.7953 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.5914, allocations: 59.25 kB / 0.7953 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001628/0.5931, allocations: 1.225 MB / 0.7965 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001408/0.5932, allocations: 41.64 kB / 0.7966 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003598/0.5936, allocations: 0.6113 MB / 0.7972 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001749/0.5937, allocations: 224.4 kB / 0.7974 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002079/0.5939, allocations: 156.2 kB / 0.7975 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.117e-05/0.594, allocations: 332.9 kB / 0.7979 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005916/0.5946, allocations: 295.5 kB / 0.7981 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007089/0.5953, allocations: 494.7 kB / 0.7986 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.5965, allocations: 0.7095 MB / 0.7993 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.5965, allocations: 2.969 kB / 0.7993 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004234/0.6008, allocations: 1.282 MB / 0.8006 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.6008, allocations: 9.938 kB / 0.8006 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.6008, allocations: 4.344 kB / 0.8006 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005607/0.6014, allocations: 135 kB / 0.8007 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005823/0.602, allocations: 157.9 kB / 0.8008 GB, free: 9.441 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006813/0.6026, allocations: 0.6948 MB / 0.8015 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/0.6039, allocations: 115.8 kB / 0.8016 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.788e-05/0.604, allocations: 39.95 kB / 0.8017 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001003/0.605, allocations: 0.552 MB / 0.8022 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006726/0.6057, allocations: 492.8 kB / 0.8027 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001168/0.6068, allocations: 0.7103 MB / 0.8034 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.695e-06/0.6068, allocations: 0 / 0.8034 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004188/0.611, allocations: 1.272 MB / 0.8046 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.611, allocations: 14.03 kB / 0.8046 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.611, allocations: 3.25 kB / 0.8046 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004583/0.6115, allocations: 138.2 kB / 0.8048 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005492/0.612, allocations: 151.9 kB / 0.8049 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006497/0.6127, allocations: 0.7022 MB / 0.8056 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/0.6139, allocations: 99.66 kB / 0.8057 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.518e-05/0.614, allocations: 30.72 kB / 0.8057 GB, free: 6.145 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (79): * Single equations (assignments): 78 * 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,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002497/0.6142, allocations: 222.9 kB / 0.8059 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002783/0.6145, allocations: 140.9 kB / 0.8061 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004172/0.6187, allocations: 1.262 MB / 0.8073 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.715e-05/0.6187, allocations: 13.97 kB / 0.8073 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.6187, allocations: 0 / 0.8073 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003575/0.6223, allocations: 1.1 MB / 0.8084 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005688/0.628, allocations: 2.621 MB / 0.8109 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.628, allocations: 0 / 0.8109 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004365/0.6284, allocations: 116.2 kB / 0.8111 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004394/0.6289, allocations: 132.7 kB / 0.8112 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.698e-05/0.6289, allocations: 19.98 kB / 0.8112 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004414/0.6333, allocations: 2.582 MB / 0.8137 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.6333, allocations: 8.062 kB / 0.8137 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005468/0.6388, allocations: 1.698 MB / 0.8154 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000832/0.6396, allocations: 315.9 kB / 0.8157 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002052/0.6398, allocations: 16 kB / 0.8157 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008304/0.6407, allocations: 47.94 kB / 0.8158 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/0.6408, allocations: 76.58 kB / 0.8158 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.128e-05/0.6409, allocations: 27.98 kB / 0.8159 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001417/0.6423, allocations: 0.8855 MB / 0.8167 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.6423, allocations: 3.938 kB / 0.8167 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002628/0.6449, allocations: 0.7251 MB / 0.8174 GB, free: 11.19 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (56): * Single equations (assignments): 51 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001179/0.6461, allocations: 473 kB / 0.8179 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002807/0.6489, allocations: 1.062 MB / 0.8189 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.6489, allocations: 0 / 0.8189 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001562/0.6505, allocations: 0.5465 MB / 0.8195 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003832/0.6543, allocations: 0.791 MB / 0.8202 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003992/0.6583, allocations: 2.338 MB / 0.8225 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008153/0.6591, allocations: 1.172 MB / 0.8237 GB, free: 4.781 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003227/0.6595, allocations: 115.4 kB / 0.8238 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of SimCode: time 1.142e-06/0.6595, allocations: 0 / 0.8238 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of Templates: time 0.04341/0.7029, allocations: 31.67 MB / 0.8547 GB, free: 5.234 MB / 0.6231 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)