Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva") translateModel(IDEAS.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.001771/0.001771, allocations: 173.4 kB / 16.27 MB, free: 6.664 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.592/1.592, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.983/0.983, allocations: 135.3 MB / 426.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000328/0.0003281, allocations: 10.03 kB / 0.5076 GB, free: 4.801 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.1992, allocations: 82.31 MB / 0.588 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.4434/0.6427, allocations: 59.66 MB / 0.6462 GB, free: 17.48 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01719/0.66, allocations: 11.91 MB / 0.6579 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003418/0.6634, allocations: 53.81 kB / 0.6579 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00216/0.6656, allocations: 0.5501 MB / 0.6584 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00675/0.6724, allocations: 1.803 MB / 0.6602 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003589/0.676, allocations: 1.075 MB / 0.6613 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00625/0.6823, allocations: 3.893 MB / 0.6651 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00202/0.6843, allocations: 0.901 MB / 0.6659 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003611/0.6879, allocations: 1.12 MB / 0.667 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002644/0.6906, allocations: 0.8519 MB / 0.6679 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002461/0.6909, allocations: 46.06 kB / 0.6679 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003953/0.6948, allocations: 1.325 MB / 0.6692 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003543/0.6952, allocations: 219.7 kB / 0.6694 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001303/0.6965, allocations: 0.6301 MB / 0.67 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005179/0.7017, allocations: 2.194 MB / 0.6722 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.7017, allocations: 0.6562 kB / 0.6722 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.484e-06/0.7017, allocations: 1.688 kB / 0.6722 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.705e-05/0.7018, allocations: 0 / 0.6722 GB, free: 2.457 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003729/0.7055, allocations: 1.483 MB / 0.6736 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.7056, allocations: 10.86 kB / 0.6736 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002547/0.7081, allocations: 471.2 kB / 0.6741 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002578/0.7107, allocations: 1.134 MB / 0.6752 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003965/0.7111, allocations: 132.4 kB / 0.6753 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/0.7113, allocations: 78.94 kB / 0.6754 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002397/0.7137, allocations: 1.004 MB / 0.6764 GB, free: 116 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.7137, allocations: 1.062 kB / 0.6764 GB, free: 116 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.183e-05/0.7138, allocations: 35.8 kB / 0.6764 GB, free: 88 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.022e-05/0.7139, allocations: 19.12 kB / 0.6764 GB, free: 88 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002709/0.7166, allocations: 0.9117 MB / 0.6773 GB, free: 15.79 MB / 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.009074/0.7257, allocations: 4.888 MB / 0.6821 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004094/0.7298, allocations: 0.9027 MB / 0.683 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009969/0.7308, allocations: 319.2 kB / 0.6833 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008678/0.7317, allocations: 0.9005 MB / 0.6842 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.346e-05/0.7317, allocations: 41.91 kB / 0.6842 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 3.216e-06/0.7317, allocations: 0 / 0.6842 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.009502/0.7413, allocations: 1.954 MB / 0.6861 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.574e-05/0.7414, allocations: 57.42 kB / 0.6862 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002837/0.7442, allocations: 1.058 MB / 0.6872 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001377/0.7444, allocations: 37.52 kB / 0.6872 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006226/0.745, allocations: 0.523 MB / 0.6877 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002039/0.7452, allocations: 148.5 kB / 0.6879 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.7454, allocations: 48.56 kB / 0.6879 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000322/0.7457, allocations: 329.2 kB / 0.6882 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001054/0.7467, allocations: 325.8 kB / 0.6886 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001244/0.748, allocations: 0.5328 MB / 0.6891 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001961/0.75, allocations: 0.7302 MB / 0.6898 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.724e-06/0.75, allocations: 2.234 kB / 0.6898 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.004563/0.7546, allocations: 1.218 MB / 0.691 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001861/0.7548, allocations: 210 kB / 0.6912 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.7548, allocations: 5.547 kB / 0.6912 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001454/0.7562, allocations: 331.5 kB / 0.6915 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006006/0.7569, allocations: 126.4 kB / 0.6916 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001863/0.7587, allocations: 0.9456 MB / 0.6925 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001848/0.7606, allocations: 188.8 kB / 0.6927 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.7607, allocations: 32.66 kB / 0.6928 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.7607, allocations: 5 kB / 0.6928 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003827/0.7646, allocations: 1.071 MB / 0.6938 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.7646, allocations: 4.125 kB / 0.6938 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001271/0.7659, allocations: 328.3 kB / 0.6941 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005557/0.7664, allocations: 126.9 kB / 0.6942 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001585/0.768, allocations: 0.936 MB / 0.6952 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001644/0.7697, allocations: 168.6 kB / 0.6953 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.887e-05/0.7698, allocations: 33.52 kB / 0.6953 GB, free: 5.398 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (51): * Single equations (assignments): 50 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.00087/0.7707, allocations: 352.8 kB / 0.6957 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000253/0.7709, allocations: 111.5 kB / 0.6958 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002733/0.7737, allocations: 0.9789 MB / 0.6967 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.236e-05/0.7737, allocations: 5.5 kB / 0.6968 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.7737, allocations: 0.6094 kB / 0.6968 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.478e-05/0.7737, allocations: 7.875 kB / 0.6968 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006063/0.7798, allocations: 2.258 MB / 0.699 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/0.7798, allocations: 3.062 kB / 0.699 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003118/0.7802, allocations: 69.88 kB / 0.699 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00118/0.7814, allocations: 329 kB / 0.6993 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.625e-05/0.7814, allocations: 16.12 kB / 0.6994 GB, free: 3.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001714/0.7831, allocations: 0.9765 MB / 0.7003 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.7831, allocations: 2.438 kB / 0.7003 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004428/0.7876, allocations: 1.256 MB / 0.7015 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/0.7886, allocations: 286 kB / 0.7018 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/0.7888, allocations: 8.531 kB / 0.7018 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009895/0.7898, allocations: 115.5 kB / 0.7019 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.7899, allocations: 31.14 kB / 0.702 GB, free: 2.078 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.737e-05/0.79, allocations: 27.61 kB / 0.702 GB, free: 2.066 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001708/0.7917, allocations: 0.7505 MB / 0.7027 GB, free: 1.641 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7917, allocations: 0 / 0.7027 GB, free: 1.641 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002832/0.7945, allocations: 0.5551 MB / 0.7033 GB, free: 1.523 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (33): * Single equations (assignments): 28 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001307/0.7959, allocations: 376.8 kB / 0.7036 GB, free: 1.305 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003978/0.7998, allocations: 1.169 MB / 0.7048 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.7999, allocations: 2 kB / 0.7048 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.8009, allocations: 369.8 kB / 0.7051 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003278/0.8042, allocations: 0.5047 MB / 0.7056 GB, free: 404 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00767/0.8119, allocations: 2.553 MB / 0.7081 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009742/0.8129, allocations: 1.061 MB / 0.7091 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001315/0.8142, allocations: 212 kB / 0.7093 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000214/0.8144, allocations: 81.3 kB / 0.7094 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of SimCode: time 1.704e-06/0.8145, allocations: 0 / 0.7094 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of Templates: time 0.04714/0.8616, allocations: 23.81 MB / 0.7327 GB, free: 7.23 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)