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.008057/0.008057, allocations: 99.69 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.001879/0.001879, allocations: 192.3 kB / 16.67 MB, free: 5.949 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.489/1.489, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.005/1.005, allocations: 135.6 MB / 426.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 59.91 kB / 0.5862 GB, free: 2.695 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5949/0.597, allocations: 81.03 MB / 0.6653 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.06772/0.6647, allocations: 61.13 MB / 0.725 GB, free: 3.617 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01963/0.6844, allocations: 11.98 MB / 0.7367 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003537/0.688, allocations: 63.62 kB / 0.7368 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002542/0.6906, allocations: 0.6791 MB / 0.7375 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006844/0.6975, allocations: 1.961 MB / 0.7394 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00388/0.7014, allocations: 1.213 MB / 0.7406 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006087/0.7075, allocations: 3.087 MB / 0.7436 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002056/0.7096, allocations: 1.092 MB / 0.7447 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00394/0.7136, allocations: 1.34 MB / 0.746 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002151/0.7157, allocations: 0.8867 MB / 0.7468 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000494/0.7162, allocations: 112 kB / 0.7469 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004376/0.7206, allocations: 1.447 MB / 0.7483 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000534/0.7212, allocations: 294.8 kB / 0.7486 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001223/0.7224, allocations: 0.688 MB / 0.7493 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004883/0.7273, allocations: 2.322 MB / 0.7516 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.7273, allocations: 3.984 kB / 0.7516 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.984e-06/0.7273, allocations: 0 / 0.7516 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.948e-05/0.7274, allocations: 0 / 0.7516 GB, free: 8.367 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003401/0.7308, allocations: 1.771 MB / 0.7533 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.7308, allocations: 12.03 kB / 0.7533 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002183/0.733, allocations: 423.3 kB / 0.7537 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002509/0.7355, allocations: 1.164 MB / 0.7549 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.402e-05/0.7356, allocations: 65.98 kB / 0.7549 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.7358, allocations: 80 kB / 0.755 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002191/0.738, allocations: 0.9976 MB / 0.756 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.874e-05/0.738, allocations: 4 kB / 0.756 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.695e-05/0.7381, allocations: 32 kB / 0.756 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.071e-05/0.7381, allocations: 19.94 kB / 0.756 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002258/0.7404, allocations: 0.8508 MB / 0.7569 GB, free: 2.781 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.008019/0.7484, allocations: 5.227 MB / 0.762 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003562/0.752, allocations: 0.7851 MB / 0.7627 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007525/0.7528, allocations: 292.6 kB / 0.763 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000841/0.7536, allocations: 0.9103 MB / 0.7639 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.403e-05/0.7537, allocations: 34.56 kB / 0.7639 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 3.026e-06/0.7537, allocations: 4 kB / 0.7639 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43): time 0.007323/0.761, allocations: 1.69 MB / 0.7656 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/0.7611, allocations: 63.41 kB / 0.7656 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002336/0.7635, allocations: 1.072 MB / 0.7667 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.829e-05/0.7636, allocations: 37.7 kB / 0.7667 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000569/0.7642, allocations: 0.5398 MB / 0.7672 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001853/0.7644, allocations: 166.6 kB / 0.7674 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003077/0.7647, allocations: 138.2 kB / 0.7675 GB, free: 7.172 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.7649, allocations: 330 kB / 0.7679 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000934/0.7658, allocations: 307.3 kB / 0.7681 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001183/0.767, allocations: 0.5251 MB / 0.7687 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001808/0.7688, allocations: 0.7135 MB / 0.7694 GB, free: 5.137 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.009e-05/0.7688, allocations: 4 kB / 0.7694 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003155/0.772, allocations: 1.009 MB / 0.7703 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.993e-05/0.7721, allocations: 14.59 kB / 0.7704 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.7721, allocations: 4 kB / 0.7704 GB, free: 4.098 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001396/0.7735, allocations: 307.7 kB / 0.7707 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005938/0.7741, allocations: 127.8 kB / 0.7708 GB, free: 3.672 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001635/0.7757, allocations: 0.8997 MB / 0.7717 GB, free: 2.746 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/0.7772, allocations: 155.4 kB / 0.7718 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/0.7774, allocations: 35.98 kB / 0.7718 GB, free: 2.559 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001479/0.7789, allocations: 0.5057 MB / 0.7723 GB, free: 2.047 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001174/0.7801, allocations: 0.5212 MB / 0.7728 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001766/0.7818, allocations: 0.71 MB / 0.7735 GB, free: 0.6523 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.251e-05/0.7819, allocations: 7.938 kB / 0.7735 GB, free: 0.6445 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.003069/0.7849, allocations: 1.009 MB / 0.7745 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.785, allocations: 8 kB / 0.7745 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.785, allocations: 4 kB / 0.7745 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001257/0.7863, allocations: 296.7 kB / 0.7748 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005768/0.7868, allocations: 127.8 kB / 0.7749 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001596/0.7885, allocations: 0.9066 MB / 0.7758 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/0.7899, allocations: 135.7 kB / 0.776 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/0.7901, allocations: 27.98 kB / 0.776 GB, free: 14.11 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 56 * 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.0003162/0.7904, allocations: 224.1 kB / 0.7762 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003984/0.7908, allocations: 119.2 kB / 0.7763 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00265/0.7935, allocations: 0.9184 MB / 0.7772 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.932e-05/0.7935, allocations: 8 kB / 0.7772 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.7935, allocations: 0 / 0.7772 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.7935, allocations: 7.922 kB / 0.7772 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005659/0.7992, allocations: 2.138 MB / 0.7793 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/0.7992, allocations: 4.281 kB / 0.7793 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000283/0.7995, allocations: 71.83 kB / 0.7794 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009952/0.8005, allocations: 288.5 kB / 0.7797 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.242e-05/0.8006, allocations: 12 kB / 0.7797 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001495/0.8021, allocations: 0.923 MB / 0.7806 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.8021, allocations: 4.031 kB / 0.7806 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003695/0.8058, allocations: 1.161 MB / 0.7817 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005676/0.8064, allocations: 268.2 kB / 0.782 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002221/0.8066, allocations: 8 kB / 0.782 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008983/0.8075, allocations: 75.86 kB / 0.782 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.516e-05/0.8076, allocations: 43.77 kB / 0.7821 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.148e-05/0.8077, allocations: 23.98 kB / 0.7821 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001449/0.8091, allocations: 0.7551 MB / 0.7828 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2e-07/0.8091, allocations: 0 / 0.7828 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001902/0.811, allocations: 0.573 MB / 0.7834 GB, free: 6.289 MB / 0.6075 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.00107/0.8121, allocations: 379.8 kB / 0.7838 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003833/0.816, allocations: 1.12 MB / 0.7849 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.816, allocations: 0 / 0.7849 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009577/0.8169, allocations: 351.1 kB / 0.7852 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002775/0.8197, allocations: 0.5107 MB / 0.7857 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006058/0.8258, allocations: 2.044 MB / 0.7877 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001104/0.8269, allocations: 1.057 MB / 0.7887 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00108/0.828, allocations: 232.7 kB / 0.7889 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002408/0.8283, allocations: 75.42 kB / 0.789 GB, free: 460 kB / 0.6075 GB Notification: Performance of SimCode: time 5.91e-07/0.8283, allocations: 0 / 0.789 GB, free: 460 kB / 0.6075 GB Notification: Performance of Templates: time 0.04955/0.8779, allocations: 25.01 MB / 0.8134 GB, free: 7.738 MB / 0.6387 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)