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.001391/0.001391, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001383/0.001383, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.315/1.315, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7896/0.7896, allocations: 132.2 MB / 423.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 66.59 kB / 0.582 GB, free: 23.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1387, allocations: 80.21 MB / 0.6603 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_y): time 0.0761/0.2149, allocations: 75.13 MB / 0.7337 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01856/0.2335, allocations: 12.72 MB / 0.7461 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002516/0.236, allocations: 67.62 kB / 0.7462 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00268/0.2388, allocations: 0.8306 MB / 0.747 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.3707/0.6095, allocations: 2.453 MB / 0.7494 GB, free: 27.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004125/0.6136, allocations: 1.391 MB / 0.7507 GB, free: 27.5 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00682/0.6205, allocations: 4.382 MB / 0.755 GB, free: 27.5 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002844/0.6233, allocations: 1.437 MB / 0.7564 GB, free: 27.38 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004895/0.6283, allocations: 1.655 MB / 0.758 GB, free: 27.38 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003072/0.6314, allocations: 1.199 MB / 0.7592 GB, free: 27.18 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006412/0.632, allocations: 162.8 kB / 0.7594 GB, free: 27.18 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004196/0.6362, allocations: 1.411 MB / 0.7607 GB, free: 27.18 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000651/0.6369, allocations: 400.1 kB / 0.7611 GB, free: 27.12 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001908/0.6388, allocations: 0.9011 MB / 0.762 GB, free: 26.89 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005998/0.6448, allocations: 2.874 MB / 0.7648 GB, free: 26.59 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.6449, allocations: 1.688 kB / 0.7648 GB, free: 26.59 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.974e-06/0.6449, allocations: 0 / 0.7648 GB, free: 26.59 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.25e-05/0.6449, allocations: 0 / 0.7648 GB, free: 26.59 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.004327/0.6493, allocations: 2.086 MB / 0.7668 GB, free: 25.52 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.6493, allocations: 10.09 kB / 0.7669 GB, free: 25.52 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009896/0.6503, allocations: 227.4 kB / 0.7671 GB, free: 25.44 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002651/0.653, allocations: 1.523 MB / 0.7686 GB, free: 25.02 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.721e-05/0.6531, allocations: 75.59 kB / 0.7686 GB, free: 25.02 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001624/0.6532, allocations: 107.7 kB / 0.7687 GB, free: 25.01 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002133/0.6554, allocations: 1.1 MB / 0.7698 GB, free: 24.88 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.728e-05/0.6554, allocations: 4.188 kB / 0.7698 GB, free: 24.88 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.65e-05/0.6555, allocations: 40.5 kB / 0.7699 GB, free: 24.88 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-05/0.6556, allocations: 28.39 kB / 0.7699 GB, free: 24.88 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001858/0.6574, allocations: 0.8822 MB / 0.7707 GB, free: 24.86 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.005774/0.6632, allocations: 4.899 MB / 0.7755 GB, free: 22.68 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/0.6646, allocations: 0.6145 MB / 0.7761 GB, free: 22.64 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007051/0.6653, allocations: 357.8 kB / 0.7765 GB, free: 22.62 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004701/0.6658, allocations: 0.8326 MB / 0.7773 GB, free: 21.68 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.6659, allocations: 43.19 kB / 0.7773 GB, free: 21.64 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 2.635e-06/0.6659, allocations: 1.094 kB / 0.7773 GB, free: 21.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.007665/0.6735, allocations: 1.676 MB / 0.779 GB, free: 21.38 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.6736, allocations: 60.94 kB / 0.779 GB, free: 21.32 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002053/0.6757, allocations: 1.222 MB / 0.7802 GB, free: 21.16 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001674/0.6759, allocations: 44.61 kB / 0.7803 GB, free: 21.12 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000463/0.6763, allocations: 0.6034 MB / 0.7808 GB, free: 20.92 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000226/0.6766, allocations: 213.9 kB / 0.781 GB, free: 20.78 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000223/0.6768, allocations: 156.4 kB / 0.7812 GB, free: 20.76 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.505e-05/0.6769, allocations: 334.2 kB / 0.7815 GB, free: 20.45 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006608/0.6775, allocations: 293.3 kB / 0.7818 GB, free: 20.44 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000793/0.6783, allocations: 497.2 kB / 0.7823 GB, free: 20.24 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/0.6797, allocations: 0.7106 MB / 0.783 GB, free: 20.06 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.6797, allocations: 2.312 kB / 0.783 GB, free: 20.06 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004722/0.6844, allocations: 1.272 MB / 0.7842 GB, free: 19.69 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.186e-05/0.6845, allocations: 9.625 kB / 0.7842 GB, free: 19.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.6845, allocations: 2.781 kB / 0.7842 GB, free: 19.69 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005974/0.6851, allocations: 132.2 kB / 0.7843 GB, free: 19.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006265/0.6857, allocations: 172 kB / 0.7845 GB, free: 19.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007357/0.6865, allocations: 0.684 MB / 0.7852 GB, free: 19.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/0.6878, allocations: 117.4 kB / 0.7853 GB, free: 19.01 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-05/0.6879, allocations: 39.78 kB / 0.7853 GB, free: 19 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001158/0.6891, allocations: 0.5549 MB / 0.7859 GB, free: 18.72 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007973/0.6899, allocations: 485.2 kB / 0.7863 GB, free: 18.41 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001297/0.6912, allocations: 0.7064 MB / 0.787 GB, free: 18.05 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.138e-06/0.6912, allocations: 3.406 kB / 0.787 GB, free: 18.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004798/0.696, allocations: 1.265 MB / 0.7883 GB, free: 17.69 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.6961, allocations: 6.219 kB / 0.7883 GB, free: 17.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.6961, allocations: 6.812 kB / 0.7883 GB, free: 17.69 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005128/0.6966, allocations: 135.5 kB / 0.7884 GB, free: 17.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005944/0.6972, allocations: 160.2 kB / 0.7886 GB, free: 17.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006821/0.6979, allocations: 0.6976 MB / 0.7892 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.6993, allocations: 100.6 kB / 0.7893 GB, free: 17.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.281e-05/0.6994, allocations: 36.78 kB / 0.7894 GB, free: 17.02 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.0002887/0.6997, allocations: 227 kB / 0.7896 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004448/0.7001, allocations: 133.2 kB / 0.7897 GB, free: 16.74 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004749/0.7049, allocations: 1.266 MB / 0.7909 GB, free: 16.19 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.297e-05/0.7049, allocations: 11.02 kB / 0.791 GB, free: 16.19 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.7049, allocations: 0 / 0.791 GB, free: 16.19 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003903/0.7089, allocations: 1.099 MB / 0.792 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007078/0.7159, allocations: 2.614 MB / 0.7946 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/0.716, allocations: 2.969 kB / 0.7946 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004764/0.7165, allocations: 118.9 kB / 0.7947 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005058/0.717, allocations: 127.3 kB / 0.7948 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.053e-05/0.7171, allocations: 19.75 kB / 0.7948 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004492/0.7216, allocations: 2.594 MB / 0.7974 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.7216, allocations: 8.344 kB / 0.7974 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005379/0.727, allocations: 1.693 MB / 0.799 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008738/0.7279, allocations: 311.8 kB / 0.7993 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004822/0.7284, allocations: 16.34 kB / 0.7993 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/0.7296, allocations: 56.14 kB / 0.7994 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/0.7297, allocations: 60.59 kB / 0.7995 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.541e-05/0.7298, allocations: 33.38 kB / 0.7995 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001517/0.7313, allocations: 0.876 MB / 0.8003 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7313, allocations: 2.844 kB / 0.8003 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002925/0.7343, allocations: 0.7145 MB / 0.801 GB, free: 9.535 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.001228/0.7355, allocations: 457.9 kB / 0.8015 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00269/0.7382, allocations: 1.123 MB / 0.8026 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.7382, allocations: 2.125 kB / 0.8026 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001428/0.7397, allocations: 0.5614 MB / 0.8031 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004141/0.7438, allocations: 0.8034 MB / 0.8039 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003988/0.7478, allocations: 2.297 MB / 0.8062 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006365/0.7485, allocations: 1.168 MB / 0.8073 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003671/0.7489, allocations: 111.4 kB / 0.8074 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of SimCode: time 5.31e-07/0.7489, allocations: 4 kB / 0.8074 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of Templates: time 0.04426/0.7931, allocations: 31.22 MB / 0.8379 GB, free: 5.816 MB / 0.6075 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)