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.001031/0.001031, allocations: 104 kB / 16.35 MB, free: 5.824 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.001006/0.001006, allocations: 191.2 kB / 17.29 MB, free: 5.48 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.259/1.259, 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.8218/0.8218, allocations: 143 MB / 434.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001227, allocations: 59.91 kB / 0.5156 GB, free: 14.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3073, allocations: 82.04 MB / 0.5957 GB, free: 16.14 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y): time 0.06154/0.3689, allocations: 75.13 MB / 0.669 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01629/0.3852, allocations: 12.78 MB / 0.6815 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002052/0.3873, allocations: 67.62 kB / 0.6816 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002121/0.3894, allocations: 0.815 MB / 0.6824 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006611/0.3961, allocations: 2.474 MB / 0.6848 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003328/0.3994, allocations: 1.399 MB / 0.6862 GB, free: 3.305 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005395/0.4048, allocations: 4.394 MB / 0.6905 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001773/0.4066, allocations: 1.433 MB / 0.6919 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003269/0.4099, allocations: 1.622 MB / 0.6934 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002091/0.412, allocations: 1.198 MB / 0.6946 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003288/0.4123, allocations: 164 kB / 0.6948 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002918/0.4153, allocations: 1.404 MB / 0.6961 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003803/0.4157, allocations: 402.6 kB / 0.6965 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0009526/0.4166, allocations: 0.8982 MB / 0.6974 GB, free: 7.754 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003524/0.4202, allocations: 3.013 MB / 0.7003 GB, free: 4.734 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.4202, allocations: 0 / 0.7003 GB, free: 4.734 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4202, allocations: 0 / 0.7003 GB, free: 4.734 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.038e-05/0.4202, allocations: 0 / 0.7003 GB, free: 4.734 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.003475/0.4237, allocations: 2.079 MB / 0.7024 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.4237, allocations: 12.03 kB / 0.7024 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007664/0.4245, allocations: 222.8 kB / 0.7026 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002404/0.4269, allocations: 1.54 MB / 0.7041 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.591e-05/0.427, allocations: 78 kB / 0.7042 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/0.4271, allocations: 100 kB / 0.7043 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001833/0.429, allocations: 1.104 MB / 0.7054 GB, free: 15.45 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.429, allocations: 3.938 kB / 0.7054 GB, free: 15.45 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.381e-05/0.4291, allocations: 40 kB / 0.7054 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.337e-05/0.4291, allocations: 28 kB / 0.7054 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001723/0.4309, allocations: 0.886 MB / 0.7063 GB, free: 14.5 MB / 0.545 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.005387/0.4362, allocations: 4.911 MB / 0.7111 GB, free: 9.293 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001245/0.4375, allocations: 0.6133 MB / 0.7117 GB, free: 8.676 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000671/0.4382, allocations: 351 kB / 0.712 GB, free: 8.332 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006417/0.4388, allocations: 0.8316 MB / 0.7128 GB, free: 7.316 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.4389, allocations: 43.12 kB / 0.7129 GB, free: 7.266 MB / 0.545 GB Notification: Performance of pre-optimization done (n=61): time 2.254e-06/0.4389, allocations: 0 / 0.7129 GB, free: 7.266 MB / 0.545 GB Notification: Performance of matching and sorting (n=61): time 0.006601/0.4455, allocations: 1.677 MB / 0.7145 GB, free: 5.559 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.4455, allocations: 59.97 kB / 0.7146 GB, free: 5.484 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/0.447, allocations: 1.225 MB / 0.7158 GB, free: 4.242 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.154e-05/0.4471, allocations: 45.7 kB / 0.7158 GB, free: 4.191 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004528/0.4476, allocations: 0.5987 MB / 0.7164 GB, free: 3.586 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001702/0.4477, allocations: 220.8 kB / 0.7166 GB, free: 3.367 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000215/0.448, allocations: 150.6 kB / 0.7167 GB, free: 3.211 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.4481, allocations: 334 kB / 0.7171 GB, free: 2.879 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006113/0.4487, allocations: 288.7 kB / 0.7173 GB, free: 2.594 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007583/0.4495, allocations: 495.8 kB / 0.7178 GB, free: 2.027 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/0.4508, allocations: 0.7129 MB / 0.7185 GB, free: 1.27 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.4508, allocations: 0 / 0.7185 GB, free: 1.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004096/0.4549, allocations: 1.281 MB / 0.7198 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.4549, allocations: 8 kB / 0.7198 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.4549, allocations: 0 / 0.7198 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005206/0.4555, allocations: 141.1 kB / 0.7199 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005652/0.456, allocations: 159.7 kB / 0.7201 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000743/0.4568, allocations: 0.6967 MB / 0.7207 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008139/0.4576, allocations: 119.1 kB / 0.7208 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.507e-05/0.4577, allocations: 31.98 kB / 0.7209 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009376/0.4586, allocations: 0.5565 MB / 0.7214 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007308/0.4594, allocations: 491.8 kB / 0.7219 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001244/0.4606, allocations: 0.7012 MB / 0.7226 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.204e-06/0.4606, allocations: 0 / 0.7226 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004152/0.4648, allocations: 1.273 MB / 0.7238 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.267e-06/0.4648, allocations: 4 kB / 0.7238 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.4648, allocations: 4 kB / 0.7238 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004297/0.4653, allocations: 133 kB / 0.7239 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005597/0.4658, allocations: 159.8 kB / 0.7241 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006864/0.4665, allocations: 0.6928 MB / 0.7248 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008096/0.4673, allocations: 103.4 kB / 0.7249 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-05/0.4674, allocations: 36 kB / 0.7249 GB, free: 10.5 MB / 0.5606 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.0001904/0.4676, allocations: 224.1 kB / 0.7251 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000202/0.4678, allocations: 134.3 kB / 0.7253 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00412/0.4719, allocations: 1.265 MB / 0.7265 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.538e-05/0.472, allocations: 8 kB / 0.7265 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.472, allocations: 0 / 0.7265 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00363/0.4756, allocations: 1.099 MB / 0.7276 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005738/0.4814, allocations: 2.614 MB / 0.7301 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/0.4814, allocations: 4 kB / 0.7301 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000472/0.4819, allocations: 120.2 kB / 0.7302 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004216/0.4823, allocations: 132.7 kB / 0.7304 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.132e-05/0.4824, allocations: 23.92 kB / 0.7304 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004408/0.4868, allocations: 2.583 MB / 0.7329 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.4868, allocations: 7.938 kB / 0.7329 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004653/0.4915, allocations: 1.695 MB / 0.7346 GB, free: 208 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004971/0.492, allocations: 311.2 kB / 0.7349 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/0.4921, allocations: 16 kB / 0.7349 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007298/0.4929, allocations: 51.94 kB / 0.7349 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.493, allocations: 68.3 kB / 0.735 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.792e-05/0.493, allocations: 27.98 kB / 0.735 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001134/0.4942, allocations: 0.8816 MB / 0.7359 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4942, allocations: 0 / 0.7359 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001628/0.4958, allocations: 0.7174 MB / 0.7366 GB, free: 14.12 MB / 0.5762 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.0008176/0.4967, allocations: 471.4 kB / 0.737 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002343/0.499, allocations: 1.121 MB / 0.7381 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.499, allocations: 0 / 0.7381 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001317/0.5003, allocations: 0.572 MB / 0.7387 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002828/0.5032, allocations: 0.7903 MB / 0.7395 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003338/0.5065, allocations: 2.266 MB / 0.7417 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000676/0.5072, allocations: 1.172 MB / 0.7428 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008893/0.5081, allocations: 300.8 kB / 0.7431 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002203/0.5084, allocations: 111.4 kB / 0.7432 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of SimCode: time 4.21e-07/0.5084, allocations: 0 / 0.7432 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of Templates: time 0.2852/0.7935, allocations: 32.41 MB / 0.7749 GB, free: 133.4 MB / 0.5762 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 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)