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.005464/0.005464, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.00111/0.00111, allocations: 193.2 kB / 16.67 MB, free: 5.969 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.295/1.295, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7372/0.7372, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 65.86 kB / 0.5813 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1527, allocations: 80.19 MB / 0.6597 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_y): time 0.06492/0.2176, allocations: 75.14 MB / 0.733 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01802/0.2357, allocations: 12.73 MB / 0.7455 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002703/0.2384, allocations: 63.62 kB / 0.7455 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002139/0.2406, allocations: 0.8345 MB / 0.7463 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005683/0.2463, allocations: 2.451 MB / 0.7487 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002995/0.2493, allocations: 1.398 MB / 0.7501 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004854/0.2542, allocations: 4.381 MB / 0.7544 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002295/0.2565, allocations: 1.437 MB / 0.7558 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003605/0.2601, allocations: 1.616 MB / 0.7574 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001969/0.2621, allocations: 1.204 MB / 0.7585 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000408/0.2625, allocations: 160 kB / 0.7587 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003216/0.2658, allocations: 1.404 MB / 0.7601 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000547/0.2663, allocations: 402.6 kB / 0.7604 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001379/0.2677, allocations: 0.8943 MB / 0.7613 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003959/0.2717, allocations: 2.893 MB / 0.7641 GB, free: 2.137 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2717, allocations: 0 / 0.7641 GB, free: 2.137 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.794e-06/0.2717, allocations: 4 kB / 0.7641 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.088e-05/0.2717, allocations: 0 / 0.7641 GB, free: 2.133 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.003505/0.2752, allocations: 2.139 MB / 0.7662 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.2753, allocations: 8.031 kB / 0.7662 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007732/0.2761, allocations: 235.8 kB / 0.7665 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002298/0.2784, allocations: 1.529 MB / 0.768 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.796e-05/0.2784, allocations: 78 kB / 0.768 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001592/0.2786, allocations: 108 kB / 0.7681 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001916/0.2805, allocations: 1.096 MB / 0.7692 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.911e-05/0.2806, allocations: 7.984 kB / 0.7692 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.006e-05/0.2807, allocations: 40 kB / 0.7692 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.592e-05/0.2807, allocations: 28 kB / 0.7693 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001824/0.2825, allocations: 0.89 MB / 0.7701 GB, free: 11.82 MB / 0.6075 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.005459/0.288, allocations: 4.905 MB / 0.7749 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001316/0.2893, allocations: 0.6243 MB / 0.7755 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000675/0.29, allocations: 346.8 kB / 0.7759 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007391/0.2908, allocations: 0.8316 MB / 0.7767 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/0.2908, allocations: 43.06 kB / 0.7767 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=61): time 2.695e-06/0.2908, allocations: 4 kB / 0.7767 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=61): time 0.006745/0.2976, allocations: 1.682 MB / 0.7784 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.2976, allocations: 55.97 kB / 0.7784 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001599/0.2992, allocations: 1.222 MB / 0.7796 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.869e-05/0.2993, allocations: 41.7 kB / 0.7797 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005402/0.2999, allocations: 0.6074 MB / 0.7803 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002116/0.3001, allocations: 230 kB / 0.7805 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002436/0.3003, allocations: 150.6 kB / 0.7806 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.3005, allocations: 341.9 kB / 0.7809 GB, free: 204 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006679/0.3012, allocations: 288.7 kB / 0.7812 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008697/0.302, allocations: 499.8 kB / 0.7817 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001357/0.3034, allocations: 0.7128 MB / 0.7824 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.3034, allocations: 0 / 0.7824 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004254/0.3077, allocations: 1.274 MB / 0.7836 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.3077, allocations: 8.375 kB / 0.7836 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.3077, allocations: 11.98 kB / 0.7837 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005772/0.3083, allocations: 140.7 kB / 0.7838 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005747/0.3089, allocations: 159.8 kB / 0.7839 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008044/0.3097, allocations: 0.6928 MB / 0.7846 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009144/0.3106, allocations: 115.3 kB / 0.7847 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-05/0.3107, allocations: 36.05 kB / 0.7848 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009745/0.3117, allocations: 0.5526 MB / 0.7853 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007772/0.3125, allocations: 0.4889 MB / 0.7858 GB, free: 11 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001329/0.3138, allocations: 0.705 MB / 0.7865 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.819e-06/0.3138, allocations: 4 kB / 0.7865 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004229/0.3181, allocations: 1.27 MB / 0.7877 GB, free: 8.965 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.3181, allocations: 8 kB / 0.7877 GB, free: 8.957 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3181, allocations: 4 kB / 0.7877 GB, free: 8.953 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004436/0.3186, allocations: 141.1 kB / 0.7879 GB, free: 8.812 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005414/0.3191, allocations: 155.7 kB / 0.788 GB, free: 8.66 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007139/0.3198, allocations: 0.7005 MB / 0.7887 GB, free: 7.934 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008824/0.3207, allocations: 95.8 kB / 0.7888 GB, free: 7.84 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.145e-05/0.3208, allocations: 28 kB / 0.7888 GB, free: 7.812 MB / 0.6231 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.0002158/0.321, allocations: 242.8 kB / 0.789 GB, free: 7.57 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002001/0.3212, allocations: 143.1 kB / 0.7892 GB, free: 7.43 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004346/0.3256, allocations: 1.259 MB / 0.7904 GB, free: 6.156 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/0.3256, allocations: 8 kB / 0.7904 GB, free: 6.148 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.3256, allocations: 0 / 0.7904 GB, free: 6.148 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00387/0.3295, allocations: 1.099 MB / 0.7915 GB, free: 5.016 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005983/0.3355, allocations: 2.622 MB / 0.794 GB, free: 2.277 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/0.3355, allocations: 4 kB / 0.7941 GB, free: 2.273 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004553/0.336, allocations: 115.8 kB / 0.7942 GB, free: 2.16 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004661/0.3364, allocations: 128.9 kB / 0.7943 GB, free: 2.031 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.35e-05/0.3365, allocations: 20 kB / 0.7943 GB, free: 2.012 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004948/0.3415, allocations: 2.591 MB / 0.7968 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.3415, allocations: 4 kB / 0.7968 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005215/0.3467, allocations: 1.712 MB / 0.7985 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000628/0.3473, allocations: 311.9 kB / 0.7988 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001752/0.3475, allocations: 23.94 kB / 0.7988 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007606/0.3483, allocations: 55.98 kB / 0.7989 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.3484, allocations: 52.31 kB / 0.7989 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.859e-05/0.3485, allocations: 31.98 kB / 0.799 GB, free: 13 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001253/0.3498, allocations: 0.8933 MB / 0.7998 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3498, allocations: 0 / 0.7998 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00168/0.3514, allocations: 0.7212 MB / 0.8005 GB, free: 11.38 MB / 0.6387 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.0008414/0.3523, allocations: 454.6 kB / 0.801 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002564/0.3549, allocations: 1.117 MB / 0.8021 GB, free: 9.828 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.3549, allocations: 0 / 0.8021 GB, free: 9.828 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00144/0.3563, allocations: 0.5681 MB / 0.8026 GB, free: 9.246 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003442/0.3598, allocations: 0.8072 MB / 0.8034 GB, free: 8.477 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003677/0.3635, allocations: 2.281 MB / 0.8056 GB, free: 6.113 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007048/0.3642, allocations: 1.172 MB / 0.8068 GB, free: 4.914 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001039/0.3653, allocations: 311 kB / 0.8071 GB, free: 4.605 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002382/0.3655, allocations: 107.4 kB / 0.8072 GB, free: 4.5 MB / 0.6387 GB Notification: Performance of SimCode: time 8.11e-07/0.3655, allocations: 0 / 0.8072 GB, free: 4.5 MB / 0.6387 GB Notification: Performance of Templates: time 0.3533/0.7188, allocations: 32.29 MB / 0.8387 GB, free: 134.9 MB / 0.6387 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)