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.005072/0.005072, allocations: 100.8 kB / 15.73 MB, free: 5.953 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.00106/0.00106, allocations: 187 kB / 16.67 MB, free: 5.883 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 4.145 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8115/0.8115, allocations: 132.2 MB / 422.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 59.91 kB / 0.5813 GB, free: 7.547 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4898/0.4912, allocations: 80.2 MB / 0.6597 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_y): time 0.1037/0.595, allocations: 75.14 MB / 0.733 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02255/0.6176, allocations: 12.73 MB / 0.7455 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003744/0.6213, allocations: 67.62 kB / 0.7455 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003119/0.6245, allocations: 0.8619 MB / 0.7464 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008094/0.6327, allocations: 2.588 MB / 0.7489 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004363/0.6371, allocations: 1.394 MB / 0.7503 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007351/0.6444, allocations: 4.392 MB / 0.7545 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002821/0.6473, allocations: 1.437 MB / 0.7559 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004748/0.652, allocations: 1.659 MB / 0.7576 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002506/0.6546, allocations: 1.194 MB / 0.7587 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005989/0.6552, allocations: 164 kB / 0.7589 GB, free: 360 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003887/0.6591, allocations: 1.408 MB / 0.7603 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007144/0.6598, allocations: 402.6 kB / 0.7606 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002294/0.6621, allocations: 0.8944 MB / 0.7615 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00687/0.669, allocations: 2.877 MB / 0.7643 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/0.669, allocations: 3.984 kB / 0.7643 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.124e-06/0.669, allocations: 0 / 0.7643 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001014/0.6691, allocations: 4 kB / 0.7643 GB, free: 10.76 MB / 0.5919 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.005845/0.675, allocations: 2.079 MB / 0.7664 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.675, allocations: 8.031 kB / 0.7664 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.6762, allocations: 226.8 kB / 0.7666 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003484/0.6797, allocations: 1.528 MB / 0.7681 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.623e-05/0.6797, allocations: 74 kB / 0.7682 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000235/0.68, allocations: 100 kB / 0.7683 GB, free: 6.629 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002333/0.6823, allocations: 1.092 MB / 0.7693 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.401e-05/0.6824, allocations: 11.92 kB / 0.7693 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.191e-05/0.6825, allocations: 40 kB / 0.7694 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.695e-05/0.6825, allocations: 24 kB / 0.7694 GB, free: 5.426 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001905/0.6844, allocations: 0.8861 MB / 0.7703 GB, free: 4.539 MB / 0.5919 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.006557/0.691, allocations: 4.911 MB / 0.7751 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001371/0.6924, allocations: 0.6175 MB / 0.7757 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000666/0.6931, allocations: 350.8 kB / 0.776 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007858/0.6939, allocations: 0.8277 MB / 0.7768 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.722e-05/0.6939, allocations: 39.12 kB / 0.7768 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=61): time 2.785e-06/0.6939, allocations: 0 / 0.7768 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of matching and sorting (n=61): time 0.006785/0.7007, allocations: 1.681 MB / 0.7785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.7008, allocations: 67.91 kB / 0.7785 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001747/0.7026, allocations: 1.218 MB / 0.7797 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.505e-05/0.7027, allocations: 45.7 kB / 0.7798 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005255/0.7032, allocations: 0.6064 MB / 0.7804 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002144/0.7034, allocations: 212.9 kB / 0.7806 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002311/0.7037, allocations: 154.5 kB / 0.7807 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.7038, allocations: 337.9 kB / 0.781 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006513/0.7045, allocations: 292.7 kB / 0.7813 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008137/0.7053, allocations: 495.8 kB / 0.7818 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00136/0.7067, allocations: 0.7012 MB / 0.7825 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.7067, allocations: 0 / 0.7825 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004696/0.7114, allocations: 1.277 MB / 0.7837 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.7114, allocations: 8 kB / 0.7837 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.7114, allocations: 4 kB / 0.7837 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005745/0.712, allocations: 133.1 kB / 0.7839 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006196/0.7127, allocations: 163.7 kB / 0.784 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008664/0.7135, allocations: 0.6967 MB / 0.7847 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/0.7146, allocations: 115 kB / 0.7848 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-05/0.7147, allocations: 32 kB / 0.7848 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001073/0.7157, allocations: 0.5527 MB / 0.7854 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007933/0.7165, allocations: 496.7 kB / 0.7859 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001363/0.7179, allocations: 0.6973 MB / 0.7865 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.885e-06/0.7179, allocations: 3.938 kB / 0.7865 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004527/0.7225, allocations: 1.273 MB / 0.7878 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.7225, allocations: 4 kB / 0.7878 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.7225, allocations: 4 kB / 0.7878 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005517/0.7231, allocations: 137.2 kB / 0.7879 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006174/0.7237, allocations: 163.7 kB / 0.7881 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007972/0.7245, allocations: 0.6927 MB / 0.7887 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/0.7256, allocations: 103.5 kB / 0.7888 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.004e-05/0.7257, allocations: 31.98 kB / 0.7889 GB, free: 0.5625 MB / 0.6075 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.0002862/0.726, allocations: 227 kB / 0.7891 GB, free: 344 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002705/0.7263, allocations: 138.2 kB / 0.7892 GB, free: 204 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004585/0.7309, allocations: 1.267 MB / 0.7905 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/0.7309, allocations: 7.984 kB / 0.7905 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.218e-06/0.7309, allocations: 4 kB / 0.7905 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003959/0.7349, allocations: 1.099 MB / 0.7915 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006909/0.7418, allocations: 2.606 MB / 0.7941 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.7419, allocations: 8.438 kB / 0.7941 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005049/0.7424, allocations: 123.7 kB / 0.7942 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004931/0.7429, allocations: 128.7 kB / 0.7943 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.346e-05/0.743, allocations: 16 kB / 0.7944 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004854/0.7478, allocations: 2.594 MB / 0.7969 GB, free: 8.031 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.7478, allocations: 4 kB / 0.7969 GB, free: 8.027 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005217/0.7531, allocations: 1.695 MB / 0.7986 GB, free: 6.262 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007565/0.7538, allocations: 307.2 kB / 0.7988 GB, free: 5.941 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001821/0.754, allocations: 23.92 kB / 0.7989 GB, free: 5.918 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007764/0.7548, allocations: 56 kB / 0.7989 GB, free: 5.863 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/0.755, allocations: 52.31 kB / 0.799 GB, free: 5.812 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.531e-05/0.755, allocations: 31.97 kB / 0.799 GB, free: 5.781 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001325/0.7564, allocations: 0.8855 MB / 0.7999 GB, free: 4.895 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.8e-07/0.7564, allocations: 3.938 kB / 0.7999 GB, free: 4.891 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00203/0.7584, allocations: 0.7135 MB / 0.8006 GB, free: 4.176 MB / 0.6231 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.0009605/0.7594, allocations: 461.3 kB / 0.801 GB, free: 3.73 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002544/0.7619, allocations: 1.125 MB / 0.8021 GB, free: 2.609 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.7619, allocations: 0 / 0.8021 GB, free: 2.609 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001475/0.7634, allocations: 0.5644 MB / 0.8027 GB, free: 2.031 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003456/0.7669, allocations: 0.81 MB / 0.8034 GB, free: 1.258 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003853/0.7708, allocations: 2.241 MB / 0.8056 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008745/0.7717, allocations: 1.176 MB / 0.8068 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00116/0.7728, allocations: 307 kB / 0.8071 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002392/0.7731, allocations: 103.4 kB / 0.8072 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of SimCode: time 8.61e-07/0.7731, allocations: 0 / 0.8072 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of Templates: time 0.05274/0.8258, allocations: 32.29 MB / 0.8387 GB, free: 13.41 MB / 0.67 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)