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.001114/0.001114, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 195.6 kB / 16.79 MB, free: 6.809 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.395/1.395, allocations: 222.9 MB / 240.5 MB, free: 4.621 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 1.058/1.058, allocations: 143 MB / 433.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 55.91 kB / 0.5141 GB, free: 12.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.1987, allocations: 82.03 MB / 0.5942 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y): time 0.3906/0.5893, allocations: 74.68 MB / 0.6672 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01926/0.6086, allocations: 12.83 MB / 0.6797 GB, free: 3.137 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003141/0.6118, allocations: 59.38 kB / 0.6798 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002579/0.6144, allocations: 0.6777 MB / 0.6804 GB, free: 2.711 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007885/0.6223, allocations: 2.263 MB / 0.6826 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003926/0.6263, allocations: 1.269 MB / 0.6839 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008761/0.635, allocations: 5.544 MB / 0.6893 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002422/0.6375, allocations: 1.189 MB / 0.6904 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003691/0.6412, allocations: 1.362 MB / 0.6918 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002476/0.6437, allocations: 1.177 MB / 0.6929 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002524/0.644, allocations: 72.84 kB / 0.693 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003983/0.648, allocations: 1.256 MB / 0.6942 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000512/0.6485, allocations: 315.2 kB / 0.6945 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001575/0.6501, allocations: 0.8109 MB / 0.6953 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004446/0.6545, allocations: 2.344 MB / 0.6976 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.6546, allocations: 4 kB / 0.6976 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.372e-06/0.6546, allocations: 0 / 0.6976 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.408e-05/0.6546, allocations: 1.312 kB / 0.6976 GB, free: 10.97 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.0055/0.6601, allocations: 2.077 MB / 0.6996 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/0.6602, allocations: 13.47 kB / 0.6996 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009997/0.6612, allocations: 230.6 kB / 0.6999 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003044/0.6643, allocations: 1.494 MB / 0.7013 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.477e-05/0.6643, allocations: 76.28 kB / 0.7014 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001718/0.6645, allocations: 101.9 kB / 0.7015 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00248/0.667, allocations: 1.106 MB / 0.7026 GB, free: 8.031 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.193e-05/0.6671, allocations: 5.406 kB / 0.7026 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.6672, allocations: 41.17 kB / 0.7026 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.135e-05/0.6672, allocations: 29.17 kB / 0.7027 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002105/0.6693, allocations: 0.884 MB / 0.7035 GB, free: 7.688 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.00748/0.6768, allocations: 4.91 MB / 0.7083 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/0.6784, allocations: 0.6146 MB / 0.7089 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007969/0.6792, allocations: 366.6 kB / 0.7093 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007917/0.68, allocations: 0.8237 MB / 0.7101 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.125e-05/0.6801, allocations: 42.81 kB / 0.7101 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 4.238e-06/0.6801, allocations: 0 / 0.7101 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.00824/0.6883, allocations: 1.67 MB / 0.7117 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.918e-05/0.6885, allocations: 62.44 kB / 0.7118 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003037/0.6915, allocations: 1.213 MB / 0.713 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002076/0.6917, allocations: 38.83 kB / 0.713 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006781/0.6924, allocations: 0.6073 MB / 0.7136 GB, free: 388 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000344/0.6928, allocations: 215.5 kB / 0.7138 GB, free: 196 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003484/0.6931, allocations: 151.8 kB / 0.714 GB, free: 104 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.6933, allocations: 332.4 kB / 0.7143 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007598/0.6941, allocations: 291.1 kB / 0.7146 GB, free: 15.63 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009535/0.695, allocations: 500 kB / 0.715 GB, free: 15.24 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001523/0.6966, allocations: 0.7082 MB / 0.7157 GB, free: 14.79 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.6966, allocations: 5.375 kB / 0.7157 GB, free: 14.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004872/0.7015, allocations: 1.275 MB / 0.717 GB, free: 14.14 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.7015, allocations: 12.31 kB / 0.717 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.7015, allocations: 2.562 kB / 0.717 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006082/0.7021, allocations: 136 kB / 0.7171 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006064/0.7028, allocations: 159.9 kB / 0.7173 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008602/0.7036, allocations: 0.6971 MB / 0.718 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/0.7052, allocations: 148.9 kB / 0.7181 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.7053, allocations: 36.58 kB / 0.7181 GB, free: 13.32 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001211/0.7065, allocations: 0.5566 MB / 0.7187 GB, free: 12.97 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008616/0.7074, allocations: 487.8 kB / 0.7191 GB, free: 12.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001387/0.7088, allocations: 0.7089 MB / 0.7198 GB, free: 12.14 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.152e-06/0.7088, allocations: 0.9062 kB / 0.7198 GB, free: 12.14 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004898/0.7137, allocations: 1.264 MB / 0.7211 GB, free: 11.25 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.7138, allocations: 8 kB / 0.7211 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.7138, allocations: 3.984 kB / 0.7211 GB, free: 11.24 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000533/0.7143, allocations: 137.1 kB / 0.7212 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006515/0.715, allocations: 163.8 kB / 0.7214 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008347/0.7158, allocations: 0.6889 MB / 0.722 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001559/0.7174, allocations: 135.6 kB / 0.7222 GB, free: 10.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.7175, allocations: 35.92 kB / 0.7222 GB, free: 10.06 MB / 0.545 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.0003249/0.7178, allocations: 232 kB / 0.7224 GB, free: 9.828 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004909/0.7183, allocations: 130.4 kB / 0.7225 GB, free: 9.699 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004802/0.7232, allocations: 1.258 MB / 0.7238 GB, free: 8.434 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.289e-05/0.7232, allocations: 15.98 kB / 0.7238 GB, free: 8.418 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.7232, allocations: 0 / 0.7238 GB, free: 8.418 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004058/0.7273, allocations: 1.099 MB / 0.7249 GB, free: 7.281 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007318/0.7346, allocations: 2.614 MB / 0.7274 GB, free: 4.555 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.304e-05/0.7347, allocations: 4 kB / 0.7274 GB, free: 4.551 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005405/0.7352, allocations: 107.9 kB / 0.7275 GB, free: 4.445 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005131/0.7357, allocations: 129 kB / 0.7276 GB, free: 4.316 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.006e-05/0.7358, allocations: 23.98 kB / 0.7277 GB, free: 4.293 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004718/0.7406, allocations: 2.343 MB / 0.73 GB, free: 1.805 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.7406, allocations: 4 kB / 0.73 GB, free: 1.801 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005502/0.7461, allocations: 1.703 MB / 0.7316 GB, free: 28 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009848/0.7471, allocations: 307.2 kB / 0.7319 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004761/0.7476, allocations: 20 kB / 0.7319 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001295/0.7489, allocations: 79.88 kB / 0.732 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001715/0.7491, allocations: 68.52 kB / 0.7321 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.716e-05/0.7492, allocations: 27.98 kB / 0.7321 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001636/0.7508, allocations: 0.8699 MB / 0.733 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.61e-07/0.7508, allocations: 3.938 kB / 0.733 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002876/0.7537, allocations: 0.7096 MB / 0.7336 GB, free: 13.93 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 (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.001282/0.755, allocations: 449 kB / 0.7341 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002838/0.7579, allocations: 1.115 MB / 0.7352 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.7579, allocations: 0 / 0.7352 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001542/0.7594, allocations: 0.5646 MB / 0.7357 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004396/0.7638, allocations: 0.7667 MB / 0.7365 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004951/0.7688, allocations: 2.782 MB / 0.7392 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009952/0.7698, allocations: 1.169 MB / 0.7403 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004529/0.7703, allocations: 111.4 kB / 0.7404 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of SimCode: time 9.82e-07/0.7703, allocations: 0 / 0.7404 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of Templates: time 0.04897/0.8193, allocations: 31.16 MB / 0.7709 GB, free: 7.953 MB / 0.5919 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)