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.001151/0.001152, allocations: 105.1 kB / 16.4 MB, free: 6.449 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.001142/0.001142, allocations: 196 kB / 17.34 MB, free: 5.719 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.336/1.336, 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.7287/0.7287, allocations: 115.3 MB / 406.5 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 62.27 kB / 0.5577 GB, free: 32.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1566, allocations: 76.18 MB / 0.6321 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_y): time 0.07325/0.2299, allocations: 75.12 MB / 0.7054 GB, free: 9.008 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01857/0.2485, allocations: 12.77 MB / 0.7179 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003342/0.2519, allocations: 63.62 kB / 0.7179 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002879/0.2548, allocations: 0.858 MB / 0.7188 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.009648/0.2645, allocations: 2.582 MB / 0.7213 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005244/0.2698, allocations: 1.409 MB / 0.7227 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006733/0.2765, allocations: 4.392 MB / 0.727 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002417/0.279, allocations: 1.441 MB / 0.7284 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005725/0.2847, allocations: 1.65 MB / 0.73 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002172/0.2869, allocations: 1.194 MB / 0.7312 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002987/0.2872, allocations: 164 kB / 0.7313 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003175/0.2904, allocations: 1.408 MB / 0.7327 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004101/0.2908, allocations: 402.6 kB / 0.7331 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001111/0.292, allocations: 0.8982 MB / 0.7339 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004439/0.2964, allocations: 2.855 MB / 0.7367 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.2964, allocations: 0 / 0.7367 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2964, allocations: 0 / 0.7367 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.98e-05/0.2965, allocations: 4 kB / 0.7367 GB, free: 8.824 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.004179/0.3007, allocations: 2.083 MB / 0.7388 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.3007, allocations: 8.031 kB / 0.7388 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008564/0.3016, allocations: 234.7 kB / 0.739 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002607/0.3042, allocations: 1.521 MB / 0.7405 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.648e-05/0.3043, allocations: 74 kB / 0.7406 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/0.3044, allocations: 100 kB / 0.7407 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002093/0.3065, allocations: 1.104 MB / 0.7417 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.752e-05/0.3066, allocations: 3.938 kB / 0.7417 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-05/0.3067, allocations: 43.98 kB / 0.7418 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.823e-05/0.3067, allocations: 28 kB / 0.7418 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001911/0.3086, allocations: 0.8822 MB / 0.7427 GB, free: 2.594 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.3695/0.6782, allocations: 4.892 MB / 0.7474 GB, free: 108.1 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/0.6798, allocations: 0.6166 MB / 0.7481 GB, free: 108 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007613/0.6805, allocations: 351.4 kB / 0.7484 GB, free: 108 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005052/0.681, allocations: 0.8276 MB / 0.7492 GB, free: 107.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.6811, allocations: 50.2 kB / 0.7492 GB, free: 107 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 2.976e-06/0.6811, allocations: 0 / 0.7492 GB, free: 107 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.007809/0.6889, allocations: 1.677 MB / 0.7509 GB, free: 106.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.689, allocations: 62.95 kB / 0.7509 GB, free: 106.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002277/0.6913, allocations: 1.226 MB / 0.7521 GB, free: 106.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001338/0.6914, allocations: 39.08 kB / 0.7522 GB, free: 106.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004361/0.6919, allocations: 0.6044 MB / 0.7528 GB, free: 105.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001868/0.6921, allocations: 218.1 kB / 0.753 GB, free: 105.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002307/0.6923, allocations: 154.7 kB / 0.7531 GB, free: 105.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.109e-05/0.6924, allocations: 337.3 kB / 0.7534 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00078/0.6932, allocations: 290.1 kB / 0.7537 GB, free: 105.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009685/0.6942, allocations: 494 kB / 0.7542 GB, free: 104.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001563/0.6957, allocations: 0.7101 MB / 0.7549 GB, free: 104.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.844e-06/0.6957, allocations: 3.141 kB / 0.7549 GB, free: 104.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005444/0.7012, allocations: 1.268 MB / 0.7561 GB, free: 104.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.778e-05/0.7013, allocations: 10.56 kB / 0.7561 GB, free: 104.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.058e-05/0.7013, allocations: 4 kB / 0.7561 GB, free: 104.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000823/0.7021, allocations: 132.8 kB / 0.7563 GB, free: 104 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008621/0.703, allocations: 160.3 kB / 0.7564 GB, free: 104 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001125/0.7041, allocations: 0.6988 MB / 0.7571 GB, free: 103.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001719/0.7059, allocations: 114.4 kB / 0.7572 GB, free: 103.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/0.706, allocations: 34.73 kB / 0.7572 GB, free: 103.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001592/0.7076, allocations: 0.559 MB / 0.7578 GB, free: 103.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009783/0.7086, allocations: 486.2 kB / 0.7583 GB, free: 102.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001717/0.7103, allocations: 0.7096 MB / 0.7589 GB, free: 102.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.508e-06/0.7103, allocations: 1.156 kB / 0.7589 GB, free: 102.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.005204/0.7155, allocations: 1.265 MB / 0.7602 GB, free: 102.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.7156, allocations: 5.875 kB / 0.7602 GB, free: 102.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.7156, allocations: 5.172 kB / 0.7602 GB, free: 102.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005603/0.7162, allocations: 141 kB / 0.7603 GB, free: 102 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006943/0.7169, allocations: 159.5 kB / 0.7605 GB, free: 102 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008116/0.7177, allocations: 0.691 MB / 0.7612 GB, free: 101.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001204/0.7189, allocations: 98.28 kB / 0.7612 GB, free: 101.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.249e-05/0.719, allocations: 34.62 kB / 0.7613 GB, free: 101.4 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.0002867/0.7193, allocations: 224.8 kB / 0.7615 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003134/0.7196, allocations: 140.2 kB / 0.7616 GB, free: 101.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005013/0.7246, allocations: 1.259 MB / 0.7629 GB, free: 100.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.152e-05/0.7247, allocations: 14.12 kB / 0.7629 GB, free: 100.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.7247, allocations: 1.812 kB / 0.7629 GB, free: 100.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004167/0.7289, allocations: 1.099 MB / 0.7639 GB, free: 100.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006438/0.7353, allocations: 2.622 MB / 0.7665 GB, free: 98.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.7353, allocations: 4.531 kB / 0.7665 GB, free: 98.61 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004956/0.7358, allocations: 115.5 kB / 0.7666 GB, free: 98.58 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004759/0.7363, allocations: 123.4 kB / 0.7667 GB, free: 98.52 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.43e-05/0.7364, allocations: 24.23 kB / 0.7668 GB, free: 98.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004676/0.7411, allocations: 2.579 MB / 0.7693 GB, free: 96.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.7411, allocations: 12.48 kB / 0.7693 GB, free: 96.31 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005252/0.7464, allocations: 1.698 MB / 0.7709 GB, free: 95.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005521/0.7469, allocations: 315.1 kB / 0.7713 GB, free: 95.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001912/0.7471, allocations: 18.97 kB / 0.7713 GB, free: 95.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008299/0.748, allocations: 55.78 kB / 0.7713 GB, free: 94.99 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.7481, allocations: 60.02 kB / 0.7714 GB, free: 94.96 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.616e-05/0.7482, allocations: 31.45 kB / 0.7714 GB, free: 94.95 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001106/0.7493, allocations: 0.8844 MB / 0.7723 GB, free: 94.45 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7493, allocations: 0 / 0.7723 GB, free: 94.45 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001801/0.7511, allocations: 0.7166 MB / 0.773 GB, free: 94.33 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.000808/0.7519, allocations: 456.5 kB / 0.7734 GB, free: 94.13 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002369/0.7543, allocations: 1.115 MB / 0.7745 GB, free: 93.64 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.7543, allocations: 0 / 0.7745 GB, free: 93.64 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00135/0.7556, allocations: 0.5711 MB / 0.7751 GB, free: 93.29 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003299/0.759, allocations: 0.8041 MB / 0.7758 GB, free: 92.91 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003221/0.7622, allocations: 2.257 MB / 0.778 GB, free: 91.03 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004416/0.7626, allocations: 1.165 MB / 0.7792 GB, free: 89.83 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009646/0.7636, allocations: 300.9 kB / 0.7795 GB, free: 89.55 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002333/0.7639, allocations: 115.4 kB / 0.7796 GB, free: 89.43 MB / 0.5762 GB Notification: Performance of SimCode: time 9.21e-07/0.7639, allocations: 0 / 0.7796 GB, free: 89.43 MB / 0.5762 GB Notification: Performance of Templates: time 0.03933/0.8032, allocations: 32.31 MB / 0.8111 GB, free: 57.52 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)