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.001742/0.001742, allocations: 115.4 kB / 17.08 MB, free: 6.012 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.001812/0.001812, allocations: 196.1 kB / 18.02 MB, free: 5.094 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.361/1.361, allocations: 222.9 MB / 241.7 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.7342/0.7342, allocations: 115.3 MB / 407.2 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001269, allocations: 67.67 kB / 0.5583 GB, free: 32.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1401, allocations: 76.18 MB / 0.6327 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_y): time 0.07245/0.2126, allocations: 75.12 MB / 0.7061 GB, free: 9.031 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01784/0.2304, allocations: 12.77 MB / 0.7185 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002709/0.2332, allocations: 63.62 kB / 0.7186 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002565/0.2358, allocations: 0.8268 MB / 0.7194 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007076/0.2429, allocations: 2.467 MB / 0.7218 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003649/0.2466, allocations: 1.394 MB / 0.7232 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006511/0.2531, allocations: 4.384 MB / 0.7275 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002404/0.2555, allocations: 1.445 MB / 0.7289 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004087/0.2597, allocations: 1.661 MB / 0.7305 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002252/0.2619, allocations: 1.186 MB / 0.7317 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005146/0.2625, allocations: 160 kB / 0.7318 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003335/0.2658, allocations: 1.408 MB / 0.7332 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006088/0.2664, allocations: 402.6 kB / 0.7336 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001664/0.2681, allocations: 0.9021 MB / 0.7344 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00479/0.2729, allocations: 2.859 MB / 0.7372 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.2729, allocations: 0 / 0.7372 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.284e-06/0.273, allocations: 0 / 0.7372 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.04e-05/0.273, allocations: 0 / 0.7372 GB, free: 9.012 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.004613/0.2777, allocations: 2.083 MB / 0.7393 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.2777, allocations: 12.03 kB / 0.7393 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009616/0.2787, allocations: 222.8 kB / 0.7395 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002823/0.2815, allocations: 1.521 MB / 0.741 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.389e-05/0.2816, allocations: 77.98 kB / 0.7411 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001746/0.2818, allocations: 104 kB / 0.7412 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00219/0.284, allocations: 1.108 MB / 0.7422 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.036e-05/0.284, allocations: 0 / 0.7422 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.734e-05/0.2841, allocations: 36 kB / 0.7423 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.751e-05/0.2842, allocations: 27.94 kB / 0.7423 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001936/0.2861, allocations: 0.89 MB / 0.7432 GB, free: 2.781 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.3443/0.6304, allocations: 4.894 MB / 0.7479 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001648/0.6321, allocations: 0.6122 MB / 0.7485 GB, free: 108.3 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007839/0.6329, allocations: 354.5 kB / 0.7489 GB, free: 108.2 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005372/0.6334, allocations: 0.8324 MB / 0.7497 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.6335, allocations: 39.7 kB / 0.7497 GB, free: 107.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 3.416e-06/0.6335, allocations: 0 / 0.7497 GB, free: 107.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.007955/0.6415, allocations: 1.681 MB / 0.7514 GB, free: 106.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.6415, allocations: 63 kB / 0.7514 GB, free: 106.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002156/0.6437, allocations: 1.226 MB / 0.7526 GB, free: 106.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001757/0.6439, allocations: 43.05 kB / 0.7527 GB, free: 106.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004718/0.6444, allocations: 0.5975 MB / 0.7533 GB, free: 105.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002096/0.6446, allocations: 222.7 kB / 0.7535 GB, free: 105.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002386/0.6448, allocations: 154.7 kB / 0.7536 GB, free: 105.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.999e-05/0.6449, allocations: 333.3 kB / 0.7539 GB, free: 105.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007319/0.6456, allocations: 291.3 kB / 0.7542 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008702/0.6465, allocations: 496.6 kB / 0.7547 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001531/0.6481, allocations: 0.7024 MB / 0.7554 GB, free: 104.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.8e-06/0.6481, allocations: 0.9062 kB / 0.7554 GB, free: 104.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005139/0.6532, allocations: 1.268 MB / 0.7566 GB, free: 104.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.6533, allocations: 16.25 kB / 0.7566 GB, free: 104.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.6533, allocations: 3.625 kB / 0.7566 GB, free: 104.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006169/0.6539, allocations: 132.6 kB / 0.7568 GB, free: 104.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00068/0.6546, allocations: 163.3 kB / 0.7569 GB, free: 104.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008029/0.6554, allocations: 0.6932 MB / 0.7576 GB, free: 103.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/0.6566, allocations: 116.3 kB / 0.7577 GB, free: 103.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.621e-05/0.6567, allocations: 34.42 kB / 0.7577 GB, free: 103.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001186/0.6579, allocations: 0.555 MB / 0.7583 GB, free: 103.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008001/0.6587, allocations: 490.2 kB / 0.7587 GB, free: 102.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001708/0.6605, allocations: 0.7076 MB / 0.7594 GB, free: 102.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.265e-06/0.6605, allocations: 3.375 kB / 0.7594 GB, free: 102.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.005281/0.6658, allocations: 1.27 MB / 0.7607 GB, free: 102.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.6658, allocations: 6.656 kB / 0.7607 GB, free: 102.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.6658, allocations: 6.562 kB / 0.7607 GB, free: 102.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005452/0.6664, allocations: 137.4 kB / 0.7608 GB, free: 102.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006532/0.667, allocations: 154.4 kB / 0.761 GB, free: 102.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007735/0.6678, allocations: 0.6938 MB / 0.7616 GB, free: 101.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/0.6691, allocations: 101.3 kB / 0.7617 GB, free: 101.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.6692, allocations: 29.98 kB / 0.7618 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.0002694/0.6695, allocations: 233.3 kB / 0.762 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003378/0.6698, allocations: 136 kB / 0.7621 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004789/0.6746, allocations: 1.253 MB / 0.7633 GB, free: 100.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.136e-05/0.6747, allocations: 14.36 kB / 0.7634 GB, free: 100.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.6747, allocations: 3 kB / 0.7634 GB, free: 100.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004122/0.6788, allocations: 1.099 MB / 0.7644 GB, free: 100.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006937/0.6858, allocations: 2.625 MB / 0.767 GB, free: 98.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.6858, allocations: 4.188 kB / 0.767 GB, free: 98.76 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000492/0.6863, allocations: 114.8 kB / 0.7671 GB, free: 98.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004608/0.6868, allocations: 129.1 kB / 0.7672 GB, free: 98.67 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.565e-05/0.6869, allocations: 15.38 kB / 0.7673 GB, free: 98.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004453/0.6913, allocations: 2.587 MB / 0.7698 GB, free: 96.47 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.6914, allocations: 8.062 kB / 0.7698 GB, free: 96.47 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005191/0.6966, allocations: 1.703 MB / 0.7715 GB, free: 95.45 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005938/0.6972, allocations: 310.5 kB / 0.7717 GB, free: 95.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002066/0.6974, allocations: 11.97 kB / 0.7718 GB, free: 95.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008019/0.6982, allocations: 63.61 kB / 0.7718 GB, free: 95.14 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.6984, allocations: 56.69 kB / 0.7719 GB, free: 95.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.736e-05/0.6984, allocations: 27.8 kB / 0.7719 GB, free: 95.11 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001123/0.6995, allocations: 0.8872 MB / 0.7728 GB, free: 94.61 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6996, allocations: 4 kB / 0.7728 GB, free: 94.61 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001717/0.7013, allocations: 0.7175 MB / 0.7735 GB, free: 94.48 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.0007878/0.7021, allocations: 451.4 kB / 0.7739 GB, free: 94.29 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002413/0.7045, allocations: 1.119 MB / 0.775 GB, free: 93.79 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.7045, allocations: 1.062 kB / 0.775 GB, free: 93.79 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001362/0.7059, allocations: 0.5621 MB / 0.7755 GB, free: 93.45 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003492/0.7094, allocations: 0.8126 MB / 0.7763 GB, free: 93.05 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003191/0.7126, allocations: 2.288 MB / 0.7786 GB, free: 91.29 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004561/0.7131, allocations: 1.165 MB / 0.7797 GB, free: 90.09 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003051/0.7134, allocations: 111.4 kB / 0.7798 GB, free: 89.98 MB / 0.5762 GB Notification: Performance of SimCode: time 6.71e-07/0.7134, allocations: 4 kB / 0.7798 GB, free: 89.98 MB / 0.5762 GB Notification: Performance of Templates: time 0.02989/0.7433, allocations: 31.23 MB / 0.8103 GB, free: 58.96 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)