Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y") translateModel(IBPSA.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.001026/0.001026, allocations: 109.4 kB / 16.41 MB, free: 6.027 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.00113/0.00113, allocations: 190.1 kB / 17.34 MB, free: 5.633 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.238/1.238, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6932/0.6932, allocations: 115.3 MB / 406.5 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001084/0.001084, allocations: 61.39 kB / 0.5577 GB, free: 32.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.124, allocations: 76.18 MB / 0.6321 GB, free: 4.426 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_y): time 0.06571/0.1898, allocations: 75.12 MB / 0.7054 GB, free: 9.039 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01573/0.2055, allocations: 12.76 MB / 0.7179 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00187/0.2075, allocations: 67.62 kB / 0.7179 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00198/0.2094, allocations: 0.8306 MB / 0.7188 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007035/0.2165, allocations: 2.463 MB / 0.7212 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003347/0.2199, allocations: 1.404 MB / 0.7225 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005345/0.2253, allocations: 4.377 MB / 0.7268 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002301/0.2276, allocations: 1.445 MB / 0.7282 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004023/0.2316, allocations: 1.648 MB / 0.7298 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001963/0.2336, allocations: 1.206 MB / 0.731 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002366/0.2338, allocations: 163.9 kB / 0.7312 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0028/0.2366, allocations: 1.4 MB / 0.7325 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003662/0.237, allocations: 402.6 kB / 0.7329 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009485/0.238, allocations: 0.9099 MB / 0.7338 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003597/0.2416, allocations: 2.851 MB / 0.7366 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.2416, allocations: 0 / 0.7366 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2416, allocations: 0 / 0.7366 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.435e-05/0.2416, allocations: 0 / 0.7366 GB, free: 9.016 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.00336/0.245, allocations: 2.087 MB / 0.7386 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.2451, allocations: 8.031 kB / 0.7386 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007434/0.2458, allocations: 230.7 kB / 0.7389 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002235/0.248, allocations: 1.517 MB / 0.7403 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.209e-05/0.2481, allocations: 77.94 kB / 0.7404 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/0.2483, allocations: 100 kB / 0.7405 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001871/0.2502, allocations: 1.1 MB / 0.7416 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.2502, allocations: 4 kB / 0.7416 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.37e-05/0.2503, allocations: 40 kB / 0.7416 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-05/0.2503, allocations: 24 kB / 0.7416 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00175/0.2521, allocations: 0.89 MB / 0.7425 GB, free: 2.789 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.3109/0.5629, allocations: 4.894 MB / 0.7473 GB, free: 108.5 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/0.5643, allocations: 0.6161 MB / 0.7479 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006623/0.565, allocations: 354.1 kB / 0.7482 GB, free: 108.3 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004051/0.5654, allocations: 0.825 MB / 0.749 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.5654, allocations: 44.25 kB / 0.7491 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 2.434e-06/0.5654, allocations: 0 / 0.7491 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.006845/0.5723, allocations: 1.683 MB / 0.7507 GB, free: 106.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.379e-05/0.5723, allocations: 58.47 kB / 0.7508 GB, free: 106.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001534/0.5739, allocations: 1.229 MB / 0.752 GB, free: 106.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.635e-05/0.5739, allocations: 38.42 kB / 0.752 GB, free: 106.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003831/0.5743, allocations: 0.6067 MB / 0.7526 GB, free: 105.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/0.5745, allocations: 213 kB / 0.7528 GB, free: 105.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002046/0.5747, allocations: 156.3 kB / 0.753 GB, free: 105.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.102e-05/0.5747, allocations: 333 kB / 0.7533 GB, free: 105.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006448/0.5754, allocations: 289.6 kB / 0.7536 GB, free: 105.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007644/0.5762, allocations: 497.8 kB / 0.754 GB, free: 105 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/0.5775, allocations: 0.7062 MB / 0.7547 GB, free: 104.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.5775, allocations: 5.219 kB / 0.7547 GB, free: 104.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004406/0.5819, allocations: 1.27 MB / 0.756 GB, free: 104.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.582, allocations: 8.094 kB / 0.756 GB, free: 104.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.582, allocations: 9.406 kB / 0.756 GB, free: 104.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005492/0.5825, allocations: 132.3 kB / 0.7561 GB, free: 104.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005743/0.5831, allocations: 161.4 kB / 0.7563 GB, free: 104.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006667/0.5838, allocations: 0.6973 MB / 0.7569 GB, free: 103.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009034/0.5847, allocations: 115.6 kB / 0.757 GB, free: 103.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.049e-05/0.5848, allocations: 30.61 kB / 0.7571 GB, free: 103.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000952/0.5857, allocations: 0.5605 MB / 0.7576 GB, free: 103.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007637/0.5865, allocations: 486.5 kB / 0.7581 GB, free: 103 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001546/0.5881, allocations: 0.7083 MB / 0.7588 GB, free: 102.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.609e-06/0.5881, allocations: 2.312 kB / 0.7588 GB, free: 102.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004731/0.5928, allocations: 1.267 MB / 0.76 GB, free: 102.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.5928, allocations: 9.844 kB / 0.76 GB, free: 102.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.5929, allocations: 4.547 kB / 0.76 GB, free: 102.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004762/0.5933, allocations: 135 kB / 0.7602 GB, free: 102.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005687/0.5939, allocations: 163.6 kB / 0.7603 GB, free: 102.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006833/0.5946, allocations: 0.6902 MB / 0.761 GB, free: 101.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009533/0.5956, allocations: 98.59 kB / 0.7611 GB, free: 101.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.107e-05/0.5957, allocations: 38.45 kB / 0.7611 GB, free: 101.5 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.0002266/0.5959, allocations: 225.3 kB / 0.7613 GB, free: 101.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002543/0.5961, allocations: 131.8 kB / 0.7615 GB, free: 101.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004479/0.6006, allocations: 1.257 MB / 0.7627 GB, free: 100.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/0.6007, allocations: 8.875 kB / 0.7627 GB, free: 100.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.6007, allocations: 3.938 kB / 0.7627 GB, free: 100.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003836/0.6045, allocations: 1.103 MB / 0.7638 GB, free: 100.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006195/0.6107, allocations: 2.623 MB / 0.7663 GB, free: 98.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/0.6108, allocations: 7.688 kB / 0.7663 GB, free: 98.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004612/0.6112, allocations: 114.8 kB / 0.7665 GB, free: 98.79 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004556/0.6117, allocations: 128.5 kB / 0.7666 GB, free: 98.73 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.424e-05/0.6117, allocations: 20.98 kB / 0.7666 GB, free: 98.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004332/0.6161, allocations: 2.581 MB / 0.7691 GB, free: 96.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.6161, allocations: 6.531 kB / 0.7691 GB, free: 96.52 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00484/0.6209, allocations: 1.698 MB / 0.7708 GB, free: 95.51 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004021/0.6214, allocations: 314.4 kB / 0.7711 GB, free: 95.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001561/0.6215, allocations: 15.95 kB / 0.7711 GB, free: 95.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007456/0.6223, allocations: 60.44 kB / 0.7712 GB, free: 95.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.797e-05/0.6224, allocations: 60 kB / 0.7712 GB, free: 95.17 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-05/0.6224, allocations: 31.72 kB / 0.7712 GB, free: 95.16 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009556/0.6234, allocations: 0.8882 MB / 0.7721 GB, free: 94.66 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6234, allocations: 0 / 0.7721 GB, free: 94.66 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001518/0.6249, allocations: 0.7104 MB / 0.7728 GB, free: 94.54 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.0006563/0.6256, allocations: 454.2 kB / 0.7732 GB, free: 94.34 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002097/0.6277, allocations: 1.117 MB / 0.7743 GB, free: 93.84 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.6277, allocations: 1.125 kB / 0.7743 GB, free: 93.84 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001217/0.6289, allocations: 0.5751 MB / 0.7749 GB, free: 93.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002878/0.6318, allocations: 0.796 MB / 0.7757 GB, free: 93.12 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002512/0.6343, allocations: 2.254 MB / 0.7779 GB, free: 91.39 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004002/0.6348, allocations: 1.169 MB / 0.779 GB, free: 90.19 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007805/0.6355, allocations: 309 kB / 0.7793 GB, free: 89.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/0.6357, allocations: 111.4 kB / 0.7794 GB, free: 89.79 MB / 0.5762 GB Notification: Performance of SimCode: time 2.51e-07/0.6357, allocations: 0 / 0.7794 GB, free: 89.79 MB / 0.5762 GB Notification: Performance of Templates: time 0.03638/0.6721, allocations: 32.3 MB / 0.811 GB, free: 57.89 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)