Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.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.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4") translateModel(IDEAS.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001609/0.001609, allocations: 194.1 kB / 16.25 MB, free: 6.637 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.349/1.349, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9249/0.9249, allocations: 135.6 MB / 425.6 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 63.58 kB / 0.5054 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1693, allocations: 81.02 MB / 0.5845 GB, free: 4.328 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example4): time 0.5031/0.6725, allocations: 234.6 MB / 0.8136 GB, free: 1.676 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02208/0.6946, allocations: 15.68 MB / 0.8289 GB, free: 1.953 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002061/0.6967, allocations: 55.62 kB / 0.829 GB, free: 1.898 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0028/0.6995, allocations: 0.9174 MB / 0.8299 GB, free: 0.9766 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00735/0.7069, allocations: 2.77 MB / 0.8326 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004102/0.711, allocations: 1.55 MB / 0.8341 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004768/0.7158, allocations: 3.434 MB / 0.8375 GB, free: 9.23 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001899/0.7177, allocations: 1.257 MB / 0.8387 GB, free: 7.941 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006078/0.7238, allocations: 2.474 MB / 0.8411 GB, free: 5.473 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002569/0.7264, allocations: 1.152 MB / 0.8422 GB, free: 4.332 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002366/0.7267, allocations: 124 kB / 0.8423 GB, free: 4.211 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005486/0.7322, allocations: 3.265 MB / 0.8455 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000567/0.7327, allocations: 486.4 kB / 0.846 GB, free: 472 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001034/0.7338, allocations: 0.8162 MB / 0.8468 GB, free: 15.64 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004768/0.7386, allocations: 3.163 MB / 0.8499 GB, free: 12.47 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.7386, allocations: 0 / 0.8499 GB, free: 12.47 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.122e-06/0.7386, allocations: 0 / 0.8499 GB, free: 12.47 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.927e-05/0.7386, allocations: 0 / 0.8499 GB, free: 12.47 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003584/0.7422, allocations: 2.012 MB / 0.8518 GB, free: 10.41 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.7422, allocations: 8.031 kB / 0.8519 GB, free: 10.4 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003054/0.7453, allocations: 0.4897 MB / 0.8523 GB, free: 9.906 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002147/0.7475, allocations: 1.121 MB / 0.8534 GB, free: 8.727 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009223/0.7484, allocations: 249.8 kB / 0.8537 GB, free: 8.484 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/0.7486, allocations: 100 kB / 0.8538 GB, free: 8.387 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00248/0.751, allocations: 1.307 MB / 0.855 GB, free: 6.988 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.777e-05/0.7511, allocations: 19.86 kB / 0.8551 GB, free: 6.973 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.7512, allocations: 43.98 kB / 0.8551 GB, free: 6.93 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.068e-05/0.7513, allocations: 42 kB / 0.8551 GB, free: 6.891 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002481/0.7537, allocations: 1.077 MB / 0.8562 GB, free: 5.812 MB / 0.67 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.2364/0.9901, allocations: 6.618 MB / 0.8627 GB, free: 220 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/0.9916, allocations: 0.572 MB / 0.8632 GB, free: 220 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005457/0.9922, allocations: 273.7 kB / 0.8635 GB, free: 220 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002966/0.9925, allocations: 284.8 kB / 0.8637 GB, free: 219.7 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.532e-05/0.9925, allocations: 35.03 kB / 0.8638 GB, free: 219.6 MB / 0.67 GB Notification: Performance of pre-optimization done (n=33): time 2.314e-06/0.9925, allocations: 0.5156 kB / 0.8638 GB, free: 219.6 MB / 0.67 GB Notification: Performance of matching and sorting (n=33): time 0.002114/0.9946, allocations: 0.8634 MB / 0.8646 GB, free: 219.6 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.239e-05/0.9947, allocations: 60.19 kB / 0.8647 GB, free: 219.5 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/0.996, allocations: 1.355 MB / 0.866 GB, free: 219.4 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.07e-05/0.9961, allocations: 35.67 kB / 0.866 GB, free: 219.4 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003354/0.9964, allocations: 0.6849 MB / 0.8667 GB, free: 219.1 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 6.779e-05/0.9965, allocations: 123.5 kB / 0.8668 GB, free: 219 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001932/0.9967, allocations: 150.8 kB / 0.867 GB, free: 218.9 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 4.628e-05/0.9967, allocations: 334.4 kB / 0.8673 GB, free: 218.6 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007268/0.9975, allocations: 315.1 kB / 0.8676 GB, free: 218.5 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008287/0.9983, allocations: 0.6534 MB / 0.8682 GB, free: 218 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001357/0.9997, allocations: 0.8634 MB / 0.8691 GB, free: 217.5 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.9997, allocations: 6.312 kB / 0.8691 GB, free: 217.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001917/1.002, allocations: 1.021 MB / 0.8701 GB, free: 217.2 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/1.002, allocations: 8.688 kB / 0.8701 GB, free: 217.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/1.002, allocations: 13.62 kB / 0.8701 GB, free: 217.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/1.002, allocations: 14.12 kB / 0.8701 GB, free: 217.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007488/1.002, allocations: 196 kB / 0.8703 GB, free: 217.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.558e-05/1.002, allocations: 21.28 kB / 0.8703 GB, free: 217.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/1.004, allocations: 221.3 kB / 0.8705 GB, free: 217.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.037e-05/1.004, allocations: 40.73 kB / 0.8706 GB, free: 217.1 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009959/1.005, allocations: 0.569 MB / 0.8711 GB, free: 216.9 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008177/1.006, allocations: 0.6488 MB / 0.8718 GB, free: 216.4 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001324/1.007, allocations: 0.8718 MB / 0.8726 GB, free: 215.9 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.577e-06/1.007, allocations: 3.281 kB / 0.8726 GB, free: 215.9 MB / 0.67 GB Notification: Performance of matching and sorting (n=81) (initialization_lambda0): time 0.001847/1.009, allocations: 1.016 MB / 0.8736 GB, free: 215.6 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/1.009, allocations: 10.19 kB / 0.8736 GB, free: 215.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/1.009, allocations: 9.906 kB / 0.8736 GB, free: 215.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.796e-06/1.009, allocations: 12.03 kB / 0.8736 GB, free: 215.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007092/1.01, allocations: 199.4 kB / 0.8738 GB, free: 215.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/1.01, allocations: 19.53 kB / 0.8738 GB, free: 215.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/1.011, allocations: 160.3 kB / 0.874 GB, free: 215.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.398e-05/1.011, allocations: 39.64 kB / 0.874 GB, free: 215.5 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (81): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001577/1.011, allocations: 234.9 kB / 0.8743 GB, free: 215.3 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/1.011, allocations: 136.8 kB / 0.8744 GB, free: 215.2 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001412/1.012, allocations: 0.6567 MB / 0.875 GB, free: 214.9 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/1.012, allocations: 5.594 kB / 0.875 GB, free: 214.9 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/1.013, allocations: 0 / 0.875 GB, free: 214.9 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/1.013, allocations: 0.6562 kB / 0.875 GB, free: 214.9 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002787/1.015, allocations: 1.937 MB / 0.8769 GB, free: 214 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/1.015, allocations: 6.109 kB / 0.8769 GB, free: 214 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004616/1.016, allocations: 100.6 kB / 0.877 GB, free: 214 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/1.016, allocations: 6.188 kB / 0.877 GB, free: 214 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.166e-05/1.016, allocations: 13.56 kB / 0.877 GB, free: 214 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/1.016, allocations: 13.14 kB / 0.8771 GB, free: 214 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.016, allocations: 9.688 kB / 0.8771 GB, free: 214 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/1.017, allocations: 0.8113 MB / 0.8779 GB, free: 213.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003218/1.017, allocations: 298.1 kB / 0.8781 GB, free: 213.3 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002054/1.018, allocations: 16.12 kB / 0.8782 GB, free: 213.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009991/1.019, allocations: 94.5 kB / 0.8782 GB, free: 213.3 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.674e-05/1.019, allocations: 38.08 kB / 0.8783 GB, free: 213.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.207e-05/1.019, allocations: 22.09 kB / 0.8783 GB, free: 213.2 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001066/1.02, allocations: 0.9879 MB / 0.8793 GB, free: 212.9 MB / 0.67 GB Notification: Performance of sort global known variables: time 7.22e-07/1.02, allocations: 0 / 0.8793 GB, free: 212.9 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001482/1.021, allocations: 0.5725 MB / 0.8798 GB, free: 212.8 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004816/1.022, allocations: 271.8 kB / 0.8801 GB, free: 212.7 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002355/1.024, allocations: 1.117 MB / 0.8812 GB, free: 212.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/1.024, allocations: 0 / 0.8812 GB, free: 212.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005949/1.025, allocations: 268 kB / 0.8814 GB, free: 212.3 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002764/1.028, allocations: 0.7458 MB / 0.8822 GB, free: 212.1 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003904/1.032, allocations: 2.691 MB / 0.8848 GB, free: 210.5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004525/1.032, allocations: 1.181 MB / 0.8859 GB, free: 209.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00131/1.033, allocations: 366 kB / 0.8863 GB, free: 209.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002111/1.034, allocations: 98.56 kB / 0.8864 GB, free: 209.7 MB / 0.67 GB Notification: Performance of SimCode: time 5.01e-07/1.034, allocations: 0 / 0.8864 GB, free: 209.7 MB / 0.67 GB Notification: Performance of Templates: time 0.04087/1.074, allocations: 24.66 MB / 0.9105 GB, free: 205.6 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe 2>&1)