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.0008144/0.0008143, allocations: 98.03 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.004798/0.004798, allocations: 169.2 kB / 16.26 MB, free: 6.66 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.336/1.336, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9229/0.9229, allocations: 135.3 MB / 426.7 MB, free: 14.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003116/0.0003116, allocations: 8.234 kB / 0.5076 GB, free: 4.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1529, allocations: 82.31 MB / 0.588 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example4): time 0.5804/0.7333, allocations: 232.2 MB / 0.8147 GB, free: 4.164 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02417/0.7575, allocations: 15.72 MB / 0.8301 GB, free: 4.398 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003074/0.7606, allocations: 51.69 kB / 0.8301 GB, free: 4.348 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003385/0.764, allocations: 0.8666 MB / 0.831 GB, free: 3.477 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.009749/0.7738, allocations: 2.782 MB / 0.8337 GB, free: 0.6836 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004687/0.7785, allocations: 1.523 MB / 0.8352 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006834/0.7854, allocations: 4.657 MB / 0.8397 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001975/0.7874, allocations: 1.04 MB / 0.8407 GB, free: 9.449 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008151/0.7955, allocations: 2.216 MB / 0.8429 GB, free: 7.234 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003764/0.7993, allocations: 1.069 MB / 0.8439 GB, free: 6.168 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004337/0.7998, allocations: 52 kB / 0.844 GB, free: 6.117 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007178/0.807, allocations: 3.573 MB / 0.8475 GB, free: 2.535 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006063/0.8076, allocations: 402.4 kB / 0.8479 GB, free: 2.141 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001228/0.8089, allocations: 0.7398 MB / 0.8486 GB, free: 1.391 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005491/0.8144, allocations: 3.061 MB / 0.8516 GB, free: 14.32 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.8144, allocations: 0 / 0.8516 GB, free: 14.32 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8144, allocations: 0 / 0.8516 GB, free: 14.32 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.703e-05/0.8144, allocations: 0 / 0.8516 GB, free: 14.32 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.003449/0.8179, allocations: 1.719 MB / 0.8533 GB, free: 12.55 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.8179, allocations: 12.03 kB / 0.8533 GB, free: 12.54 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002866/0.8208, allocations: 0.5366 MB / 0.8538 GB, free: 12 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002319/0.8232, allocations: 1.121 MB / 0.8549 GB, free: 10.82 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009528/0.8241, allocations: 269.8 kB / 0.8552 GB, free: 10.55 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/0.8243, allocations: 104 kB / 0.8552 GB, free: 10.45 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002584/0.8269, allocations: 1.338 MB / 0.8566 GB, free: 9.027 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.934e-05/0.8269, allocations: 11.88 kB / 0.8566 GB, free: 9.016 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/0.827, allocations: 44 kB / 0.8566 GB, free: 8.973 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.108e-05/0.8271, allocations: 38 kB / 0.8566 GB, free: 8.934 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002684/0.8298, allocations: 1.12 MB / 0.8577 GB, free: 7.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.008502/0.8383, allocations: 6.656 MB / 0.8642 GB, free: 0.7148 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001742/0.8401, allocations: 0.6103 MB / 0.8648 GB, free: 104 kB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.4069/1.247, allocations: 279.9 kB / 0.8651 GB, free: 27.92 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003956/1.247, allocations: 285.8 kB / 0.8654 GB, free: 27.64 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/1.247, allocations: 36.12 kB / 0.8654 GB, free: 27.6 MB / 0.67 GB Notification: Performance of pre-optimization done (n=33): time 2.875e-06/1.248, allocations: 0.5312 kB / 0.8654 GB, free: 27.6 MB / 0.67 GB Notification: Performance of matching and sorting (n=33): time 0.002666/1.25, allocations: 0.9088 MB / 0.8663 GB, free: 27.56 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/1.25, allocations: 57.19 kB / 0.8664 GB, free: 27.5 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001941/1.252, allocations: 1.368 MB / 0.8677 GB, free: 27.34 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.799e-05/1.252, allocations: 36.67 kB / 0.8677 GB, free: 27.31 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005682/1.253, allocations: 0.681 MB / 0.8684 GB, free: 27.13 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/1.253, allocations: 119.8 kB / 0.8685 GB, free: 27.06 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.887e-05/1.253, allocations: 60.67 kB / 0.8686 GB, free: 27.04 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 7.849e-05/1.253, allocations: 333.5 kB / 0.8689 GB, free: 26.74 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008587/1.254, allocations: 329.4 kB / 0.8692 GB, free: 26.74 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/1.255, allocations: 0.6662 MB / 0.8698 GB, free: 26.34 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0017/1.257, allocations: 0.8982 MB / 0.8707 GB, free: 25.99 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.226e-06/1.257, allocations: 5.281 kB / 0.8707 GB, free: 25.99 MB / 0.67 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002365/1.259, allocations: 1.055 MB / 0.8718 GB, free: 25.87 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001956/1.259, allocations: 376.7 kB / 0.8721 GB, free: 25.43 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/1.26, allocations: 11.03 kB / 0.8721 GB, free: 25.43 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.564e-05/1.26, allocations: 14.12 kB / 0.8721 GB, free: 25.43 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008361/1.26, allocations: 206.4 kB / 0.8723 GB, free: 25.43 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-05/1.26, allocations: 26.62 kB / 0.8724 GB, free: 25.42 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/1.262, allocations: 231.3 kB / 0.8726 GB, free: 25.36 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.012e-05/1.262, allocations: 40.02 kB / 0.8726 GB, free: 25.36 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/1.262, allocations: 9.156 kB / 0.8726 GB, free: 25.36 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002008/1.264, allocations: 0.9068 MB / 0.8735 GB, free: 25.32 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/1.264, allocations: 10.16 kB / 0.8735 GB, free: 25.32 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/1.264, allocations: 19.12 kB / 0.8735 GB, free: 25.32 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007786/1.265, allocations: 208.4 kB / 0.8737 GB, free: 25.32 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.729e-05/1.265, allocations: 18.92 kB / 0.8738 GB, free: 25.32 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/1.266, allocations: 198.7 kB / 0.8739 GB, free: 25.27 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.285e-05/1.266, allocations: 41.61 kB / 0.874 GB, free: 25.27 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.0006357/1.267, allocations: 419.1 kB / 0.8744 GB, free: 25.07 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002003/1.267, allocations: 137.5 kB / 0.8745 GB, free: 25 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00167/1.269, allocations: 0.6804 MB / 0.8752 GB, free: 24.92 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.842e-06/1.269, allocations: 2.156 kB / 0.8752 GB, free: 24.92 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/1.269, allocations: 4.156 kB / 0.8752 GB, free: 24.92 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.687e-06/1.269, allocations: 7.125 kB / 0.8752 GB, free: 24.92 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003515/1.272, allocations: 1.968 MB / 0.8771 GB, free: 24.44 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/1.272, allocations: 6.688 kB / 0.8771 GB, free: 24.43 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004974/1.273, allocations: 100.8 kB / 0.8772 GB, free: 24.43 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.768e-06/1.273, allocations: 11.22 kB / 0.8772 GB, free: 24.43 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.518e-05/1.273, allocations: 17.88 kB / 0.8772 GB, free: 24.43 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/1.273, allocations: 3.469 kB / 0.8773 GB, free: 24.43 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-06/1.273, allocations: 7.562 kB / 0.8773 GB, free: 24.43 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001583/1.275, allocations: 0.8503 MB / 0.8781 GB, free: 24.07 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004583/1.275, allocations: 303.5 kB / 0.8784 GB, free: 23.89 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001825/1.275, allocations: 9.438 kB / 0.8784 GB, free: 23.89 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/1.276, allocations: 113.1 kB / 0.8785 GB, free: 23.88 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.389e-05/1.276, allocations: 37.08 kB / 0.8785 GB, free: 23.87 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.363e-05/1.276, allocations: 22.67 kB / 0.8786 GB, free: 23.87 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001437/1.278, allocations: 0.9949 MB / 0.8795 GB, free: 23.75 MB / 0.67 GB Notification: Performance of sort global known variables: time 9.51e-07/1.278, allocations: 1.5 kB / 0.8795 GB, free: 23.75 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001877/1.28, allocations: 0.5796 MB / 0.8801 GB, free: 23.71 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.0005739/1.28, allocations: 263.2 kB / 0.8803 GB, free: 23.6 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002992/1.283, allocations: 1.154 MB / 0.8815 GB, free: 23.56 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/1.283, allocations: 2.281 kB / 0.8815 GB, free: 23.56 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006875/1.284, allocations: 283.5 kB / 0.8817 GB, free: 23.55 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004531/1.289, allocations: 0.7712 MB / 0.8825 GB, free: 23.51 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004961/1.294, allocations: 2.722 MB / 0.8852 GB, free: 22.13 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007209/1.294, allocations: 1.18 MB / 0.8863 GB, free: 21.41 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002031/1.296, allocations: 364.2 kB / 0.8867 GB, free: 21.33 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003201/1.297, allocations: 97.66 kB / 0.8867 GB, free: 21.32 MB / 0.67 GB Notification: Performance of SimCode: time 8.22e-07/1.297, allocations: 0 / 0.8867 GB, free: 21.32 MB / 0.67 GB Notification: Performance of Templates: time 0.04998/1.347, allocations: 25.1 MB / 0.9113 GB, free: 17.91 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)