Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.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_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL") translateModel(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008758/0.0008758, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005564/0.005564, allocations: 170.3 kB / 16.26 MB, free: 6.68 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.248/1.248, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.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.9296/0.9296, allocations: 143.2 MB / 434.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003119/0.0003119, allocations: 8 kB / 0.5164 GB, free: 11.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1742, allocations: 83.42 MB / 0.5978 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.434/0.6082, allocations: 73.42 MB / 0.6695 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02218/0.6304, allocations: 12.68 MB / 0.6819 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003929/0.6344, allocations: 57.53 kB / 0.682 GB, free: 2.656 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003144/0.6375, allocations: 0.6777 MB / 0.6826 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01009/0.6477, allocations: 2.263 MB / 0.6848 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004535/0.6522, allocations: 1.272 MB / 0.6861 GB, free: 144 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01036/0.6626, allocations: 5.548 MB / 0.6915 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003093/0.6657, allocations: 1.142 MB / 0.6926 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004131/0.6699, allocations: 1.319 MB / 0.6939 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003064/0.673, allocations: 1.131 MB / 0.695 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002865/0.6733, allocations: 59.84 kB / 0.6951 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004429/0.6777, allocations: 1.257 MB / 0.6963 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0005021/0.6782, allocations: 285.3 kB / 0.6966 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001748/0.68, allocations: 0.803 MB / 0.6974 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00664/0.6866, allocations: 2.878 MB / 0.7002 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.6867, allocations: 0 / 0.7002 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.305e-06/0.6867, allocations: 0 / 0.7002 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.635e-05/0.6867, allocations: 0 / 0.7002 GB, free: 10.54 MB / 0.5294 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.004835/0.6915, allocations: 1.79 MB / 0.7019 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.868e-05/0.6916, allocations: 9.688 kB / 0.7019 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009464/0.6926, allocations: 237 kB / 0.7021 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003192/0.6958, allocations: 1.501 MB / 0.7036 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.262e-05/0.6959, allocations: 80.75 kB / 0.7037 GB, free: 8.312 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001744/0.696, allocations: 100.2 kB / 0.7038 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002542/0.6986, allocations: 1.122 MB / 0.7049 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.123e-05/0.6986, allocations: 5.5 kB / 0.7049 GB, free: 7.781 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.844e-05/0.6987, allocations: 41.77 kB / 0.7049 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.426e-05/0.6988, allocations: 30.06 kB / 0.705 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002086/0.7009, allocations: 0.9258 MB / 0.7059 GB, free: 7.441 MB / 0.5294 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.006671/0.7076, allocations: 4.939 MB / 0.7107 GB, free: 3.547 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/0.7091, allocations: 0.6458 MB / 0.7113 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000834/0.7099, allocations: 371.4 kB / 0.7117 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007183/0.7107, allocations: 0.8324 MB / 0.7125 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.7107, allocations: 42.25 kB / 0.7125 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 2.535e-06/0.7107, allocations: 0 / 0.7125 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of matching and sorting (n=62): time 0.008011/0.7187, allocations: 1.897 MB / 0.7144 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/0.7188, allocations: 58.91 kB / 0.7144 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00224/0.7211, allocations: 1.209 MB / 0.7156 GB, free: 416 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001809/0.7213, allocations: 42.11 kB / 0.7157 GB, free: 372 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006144/0.7219, allocations: 0.604 MB / 0.7162 GB, free: 15.83 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002958/0.7222, allocations: 215.3 kB / 0.7164 GB, free: 15.64 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.7223, allocations: 63.84 kB / 0.7165 GB, free: 15.59 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.7225, allocations: 336.3 kB / 0.7168 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007368/0.7232, allocations: 302.8 kB / 0.7171 GB, free: 15.13 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008539/0.7241, allocations: 0.5027 MB / 0.7176 GB, free: 14.75 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001455/0.7256, allocations: 0.7455 MB / 0.7183 GB, free: 14.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.7256, allocations: 7.531 kB / 0.7183 GB, free: 14.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005254/0.7308, allocations: 1.412 MB / 0.7197 GB, free: 13.64 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001439/0.731, allocations: 200.3 kB / 0.7199 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.731, allocations: 7.625 kB / 0.7199 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007701/0.7318, allocations: 161.3 kB / 0.7201 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000659/0.7325, allocations: 172.1 kB / 0.7202 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009542/0.7334, allocations: 0.73 MB / 0.7209 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001746/0.7352, allocations: 166.6 kB / 0.7211 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/0.7353, allocations: 36.28 kB / 0.7211 GB, free: 12.55 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.7353, allocations: 4.125 kB / 0.7211 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004686/0.74, allocations: 1.259 MB / 0.7224 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.74, allocations: 0 / 0.7224 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006436/0.7407, allocations: 173.6 kB / 0.7225 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005887/0.7413, allocations: 163.8 kB / 0.7227 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008616/0.7422, allocations: 0.7284 MB / 0.7234 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001674/0.7438, allocations: 159.8 kB / 0.7236 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.944e-05/0.7439, allocations: 35.98 kB / 0.7236 GB, free: 10.47 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.001068/0.745, allocations: 417.5 kB / 0.724 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003161/0.7453, allocations: 130.4 kB / 0.7241 GB, free: 9.922 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005055/0.7504, allocations: 1.418 MB / 0.7255 GB, free: 8.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-05/0.7505, allocations: 11.94 kB / 0.7255 GB, free: 8.488 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.7505, allocations: 0 / 0.7255 GB, free: 8.488 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004584/0.7551, allocations: 1.248 MB / 0.7267 GB, free: 7.207 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008105/0.7632, allocations: 2.771 MB / 0.7294 GB, free: 4.324 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/0.7633, allocations: 4 kB / 0.7294 GB, free: 4.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005293/0.7638, allocations: 120.3 kB / 0.7296 GB, free: 4.203 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006805/0.7645, allocations: 162.2 kB / 0.7297 GB, free: 4.043 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.13e-05/0.7646, allocations: 16 kB / 0.7297 GB, free: 4.027 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008743/0.7654, allocations: 0.7269 MB / 0.7304 GB, free: 3.277 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.107e-06/0.7655, allocations: 11.88 kB / 0.7304 GB, free: 3.266 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005927/0.7714, allocations: 1.856 MB / 0.7323 GB, free: 1.34 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00116/0.7726, allocations: 339.1 kB / 0.7326 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001887/0.7728, allocations: 16 kB / 0.7326 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009597/0.7738, allocations: 93.94 kB / 0.7327 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/0.7739, allocations: 56.25 kB / 0.7327 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-05/0.774, allocations: 39.97 kB / 0.7328 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001448/0.7755, allocations: 0.8622 MB / 0.7336 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.61e-07/0.7755, allocations: 0 / 0.7336 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002241/0.7777, allocations: 0.6979 MB / 0.7343 GB, free: 15.22 MB / 0.5606 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 (55): * Single equations (assignments): 50 * 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001139/0.7789, allocations: 473.9 kB / 0.7348 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002831/0.7817, allocations: 1.17 MB / 0.7359 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.7817, allocations: 4.125 kB / 0.7359 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009617/0.7827, allocations: 415.1 kB / 0.7363 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005573/0.7883, allocations: 0.7962 MB / 0.7371 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005033/0.7933, allocations: 2.797 MB / 0.7398 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007852/0.7942, allocations: 1.173 MB / 0.741 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00151/0.7957, allocations: 308.3 kB / 0.7412 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003045/0.796, allocations: 111.4 kB / 0.7414 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of SimCode: time 1.042e-06/0.796, allocations: 4 kB / 0.7414 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of Templates: time 0.05718/0.8532, allocations: 32.04 MB / 0.7726 GB, free: 8.262 MB / 0.5919 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1)