Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y") translateModel(IDEAS.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001045/0.001045, allocations: 108 kB / 15.6 MB, free: 132 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.001019/0.001019, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.271/1.271, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7127/0.7127, allocations: 132.2 MB / 422.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 72.31 kB / 0.5018 GB, free: 3.859 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3936/0.3947, allocations: 80.2 MB / 0.5801 GB, free: 4.535 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_y): time 0.06629/0.4611, allocations: 75.14 MB / 0.6535 GB, free: 6.203 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0164/0.4775, allocations: 12.73 MB / 0.6659 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002272/0.4798, allocations: 67.56 kB / 0.666 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001946/0.4818, allocations: 0.8268 MB / 0.6668 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005963/0.4878, allocations: 2.464 MB / 0.6692 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003226/0.491, allocations: 1.365 MB / 0.6705 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005236/0.4963, allocations: 4.392 MB / 0.6748 GB, free: 316 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001996/0.4983, allocations: 1.437 MB / 0.6762 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003468/0.5018, allocations: 1.608 MB / 0.6778 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001674/0.5034, allocations: 1.194 MB / 0.6789 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002432/0.5037, allocations: 168 kB / 0.6791 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002895/0.5066, allocations: 1.4 MB / 0.6805 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003774/0.507, allocations: 398.6 kB / 0.6808 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001077/0.5081, allocations: 0.906 MB / 0.6817 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003792/0.5119, allocations: 2.84 MB / 0.6845 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.5119, allocations: 4 kB / 0.6845 GB, free: 6.312 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5119, allocations: 0 / 0.6845 GB, free: 6.312 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.322e-05/0.5119, allocations: 0 / 0.6845 GB, free: 6.312 MB / 0.5137 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.00341/0.5154, allocations: 2.075 MB / 0.6865 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.5154, allocations: 16.03 kB / 0.6865 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.5165, allocations: 218.9 kB / 0.6867 GB, free: 3.941 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002133/0.5187, allocations: 1.462 MB / 0.6882 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.005e-05/0.5187, allocations: 74 kB / 0.6882 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/0.5189, allocations: 100 kB / 0.6883 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001759/0.5206, allocations: 1.1 MB / 0.6894 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.5207, allocations: 0 / 0.6894 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.453e-05/0.5207, allocations: 47.98 kB / 0.6895 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.974e-05/0.5208, allocations: 27.94 kB / 0.6895 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001725/0.5225, allocations: 0.8861 MB / 0.6904 GB, free: 160 kB / 0.5137 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.005339/0.5279, allocations: 4.946 MB / 0.6952 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/0.5292, allocations: 0.6179 MB / 0.6958 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006538/0.5298, allocations: 346.3 kB / 0.6961 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006063/0.5305, allocations: 0.8316 MB / 0.6969 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.5305, allocations: 39.12 kB / 0.697 GB, free: 8.898 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 3.958e-06/0.5305, allocations: 0 / 0.697 GB, free: 8.898 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.006901/0.5374, allocations: 1.685 MB / 0.6986 GB, free: 7.184 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.5375, allocations: 59.97 kB / 0.6987 GB, free: 7.113 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001498/0.539, allocations: 1.218 MB / 0.6999 GB, free: 5.879 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.187e-05/0.5391, allocations: 45.7 kB / 0.6999 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004448/0.5395, allocations: 0.5987 MB / 0.7005 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001891/0.5397, allocations: 216.9 kB / 0.7007 GB, free: 5.008 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000217/0.5399, allocations: 154.6 kB / 0.7008 GB, free: 4.852 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.54, allocations: 337.9 kB / 0.7012 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006323/0.5407, allocations: 288.7 kB / 0.7014 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007766/0.5415, allocations: 0.4904 MB / 0.7019 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/0.5428, allocations: 0.709 MB / 0.7026 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.5428, allocations: 0 / 0.7026 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004529/0.5473, allocations: 1.269 MB / 0.7038 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.5474, allocations: 11.98 kB / 0.7039 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.5474, allocations: 0 / 0.7039 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000597/0.548, allocations: 145.1 kB / 0.704 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005681/0.5486, allocations: 159.7 kB / 0.7042 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007966/0.5494, allocations: 0.6967 MB / 0.7048 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009914/0.5504, allocations: 111.1 kB / 0.7049 GB, free: 500 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.069e-05/0.5505, allocations: 35.98 kB / 0.705 GB, free: 464 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009971/0.5515, allocations: 0.5566 MB / 0.7055 GB, free: 15.89 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007546/0.5522, allocations: 495.8 kB / 0.706 GB, free: 15.33 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001267/0.5535, allocations: 0.6934 MB / 0.7067 GB, free: 14.59 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.757e-06/0.5535, allocations: 4.094 kB / 0.7067 GB, free: 14.58 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004451/0.558, allocations: 1.277 MB / 0.7079 GB, free: 13.29 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.558, allocations: 4 kB / 0.7079 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.558, allocations: 4 kB / 0.7079 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004646/0.5585, allocations: 137.1 kB / 0.7081 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005418/0.559, allocations: 159.7 kB / 0.7082 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008197/0.5599, allocations: 0.7005 MB / 0.7089 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009583/0.5608, allocations: 106 kB / 0.709 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.381e-05/0.5609, allocations: 31.98 kB / 0.709 GB, free: 12.13 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.000255/0.5611, allocations: 228.8 kB / 0.7092 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002352/0.5614, allocations: 138.3 kB / 0.7094 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004525/0.5659, allocations: 1.263 MB / 0.7106 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/0.5659, allocations: 8 kB / 0.7106 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.566, allocations: 4 kB / 0.7106 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003967/0.5699, allocations: 1.096 MB / 0.7117 GB, free: 9.344 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006109/0.5761, allocations: 2.614 MB / 0.7142 GB, free: 6.617 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.615e-06/0.5761, allocations: 7.938 kB / 0.7142 GB, free: 6.609 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004432/0.5765, allocations: 107.9 kB / 0.7143 GB, free: 6.504 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004531/0.577, allocations: 137 kB / 0.7145 GB, free: 6.367 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.196e-05/0.577, allocations: 27.98 kB / 0.7145 GB, free: 6.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004657/0.5817, allocations: 2.579 MB / 0.717 GB, free: 3.609 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.5817, allocations: 4 kB / 0.717 GB, free: 3.605 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005337/0.5871, allocations: 1.699 MB / 0.7187 GB, free: 1.844 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000661/0.5877, allocations: 311.2 kB / 0.719 GB, free: 1.52 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003147/0.5881, allocations: 16 kB / 0.719 GB, free: 1.504 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009132/0.589, allocations: 55.78 kB / 0.7191 GB, free: 1.449 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.5891, allocations: 56.42 kB / 0.7191 GB, free: 1.395 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.089e-05/0.5892, allocations: 35.98 kB / 0.7191 GB, free: 1.359 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001409/0.5906, allocations: 0.8816 MB / 0.72 GB, free: 488 kB / 0.545 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5906, allocations: 3.938 kB / 0.72 GB, free: 484 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.002387/0.593, allocations: 0.7135 MB / 0.7207 GB, free: 15.75 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.0009806/0.594, allocations: 454.4 kB / 0.7211 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002778/0.5968, allocations: 1.156 MB / 0.7223 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.5968, allocations: 0 / 0.7223 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00146/0.5983, allocations: 0.5681 MB / 0.7228 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004145/0.6024, allocations: 0.7919 MB / 0.7236 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004525/0.607, allocations: 2.298 MB / 0.7258 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008405/0.6079, allocations: 1.164 MB / 0.727 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001454/0.6093, allocations: 311 kB / 0.7273 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002839/0.6096, allocations: 103.4 kB / 0.7274 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of SimCode: time 1.743e-06/0.6096, allocations: 0 / 0.7274 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of Templates: time 0.05212/0.6617, allocations: 32.11 MB / 0.7587 GB, free: 9.141 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.sim & ./IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)