Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example5.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.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example5") translateModel(IDEAS.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007103/0.007103, allocations: 102 kB / 15.73 MB, free: 6.02 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.001697/0.001697, allocations: 190.3 kB / 16.67 MB, free: 5.934 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.282/1.282, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7725/0.7725, allocations: 132.2 MB / 422.7 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 57.53 kB / 0.5813 GB, free: 23.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.1907, allocations: 80.21 MB / 0.6597 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.00164/0.1924, allocations: 0.5113 MB / 0.6602 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000196/0.1926, allocations: 39.88 kB / 0.6602 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.835e-05/0.1927, allocations: 0 / 0.6602 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.552e-05/0.1928, allocations: 3.938 kB / 0.6602 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001626/0.1929, allocations: 7.984 kB / 0.6602 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 6.803e-05/0.193, allocations: 11.98 kB / 0.6602 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.142e-05/0.1931, allocations: 11.88 kB / 0.6602 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.489e-05/0.1931, allocations: 0 / 0.6602 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.269e-05/0.1932, allocations: 4 kB / 0.6602 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.339e-05/0.1933, allocations: 11.98 kB / 0.6602 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.1933, allocations: 0 / 0.6602 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.548e-06/0.1933, allocations: 0 / 0.6602 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.887e-05/0.1934, allocations: 11.92 kB / 0.6603 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.698e-05/0.1934, allocations: 3.984 kB / 0.6603 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.24e-05/0.1935, allocations: 11.94 kB / 0.6603 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1935, allocations: 0 / 0.6603 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.024e-06/0.1935, allocations: 0 / 0.6603 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.1935, allocations: 0 / 0.6603 GB, free: 9.629 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004513/0.194, allocations: 335.5 kB / 0.6606 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.194, allocations: 8.031 kB / 0.6606 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.612e-05/0.194, allocations: 0.9375 kB / 0.6606 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.1943, allocations: 176.3 kB / 0.6608 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-06/0.1943, allocations: 384 / 0.6608 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.1943, allocations: 8.375 kB / 0.6608 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.288e-05/0.1944, allocations: 37.58 kB / 0.6608 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.1944, allocations: 3.984 kB / 0.6608 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.1944, allocations: 0 / 0.6608 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.1945, allocations: 0 / 0.6608 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.284e-05/0.1945, allocations: 7.984 kB / 0.6608 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001869/0.1947, allocations: 153.7 kB / 0.661 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.892e-05/0.1947, allocations: 18.58 kB / 0.661 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.32e-05/0.1948, allocations: 11.75 kB / 0.661 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.1948, allocations: 3.938 kB / 0.661 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.1948, allocations: 38.56 kB / 0.661 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.1948, allocations: 0 / 0.661 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.000183/0.195, allocations: 41.67 kB / 0.6611 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.1951, allocations: 51.41 kB / 0.6611 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.965e-05/0.1952, allocations: 113.8 kB / 0.6612 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.1952, allocations: 29.83 kB / 0.6613 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.682e-05/0.1953, allocations: 84.08 kB / 0.6613 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/0.1953, allocations: 11.83 kB / 0.6614 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-05/0.1953, allocations: 17.72 kB / 0.6614 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1955, allocations: 310.8 kB / 0.6617 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.013e-05/0.1955, allocations: 7.984 kB / 0.6617 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.992e-05/0.1955, allocations: 21.66 kB / 0.6617 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.604e-05/0.1956, allocations: 29.77 kB / 0.6617 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1956, allocations: 0 / 0.6617 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.741e-05/0.1957, allocations: 49.81 kB / 0.6618 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1957, allocations: 4 kB / 0.6618 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1957, allocations: 0 / 0.6618 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.1957, allocations: 8 kB / 0.6618 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.826e-05/0.1958, allocations: 0 / 0.6618 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.1958, allocations: 4.062 kB / 0.6618 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.69e-05/0.1959, allocations: 8 kB / 0.6618 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.1959, allocations: 0 / 0.6618 GB, free: 7.836 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 8.608e-05/0.196, allocations: 113.8 kB / 0.6619 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.796e-06/0.196, allocations: 3.938 kB / 0.6619 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001217/0.1961, allocations: 52.75 kB / 0.662 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.1961, allocations: 0 / 0.662 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.1961, allocations: 0 / 0.662 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1961, allocations: 0 / 0.662 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.1962, allocations: 161.7 kB / 0.6621 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.679e-06/0.1963, allocations: 3.938 kB / 0.6621 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.907e-05/0.1963, allocations: 7.984 kB / 0.6621 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.1963, allocations: 0 / 0.6621 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.1963, allocations: 4 kB / 0.6621 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1963, allocations: 0 / 0.6621 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1963, allocations: 0 / 0.6621 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.1965, allocations: 73.11 kB / 0.6622 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.118e-05/0.1965, allocations: 89.09 kB / 0.6623 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.1965, allocations: 4.031 kB / 0.6623 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.909e-05/0.1966, allocations: 3.938 kB / 0.6623 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.517e-05/0.1966, allocations: 0 / 0.6623 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/0.1966, allocations: 0 / 0.6623 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.468e-05/0.1967, allocations: 91.27 kB / 0.6624 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.623e-06/0.1967, allocations: 0 / 0.6624 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001704/0.1968, allocations: 7.938 kB / 0.6624 GB, free: 7.125 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * 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.0001148/0.197, allocations: 95.25 kB / 0.6625 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.954e-05/0.197, allocations: 15.98 kB / 0.6625 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1971, allocations: 0 / 0.6625 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.463e-05/0.1971, allocations: 11.94 kB / 0.6625 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001408/0.1972, allocations: 7.875 kB / 0.6625 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003038/0.1975, allocations: 121.4 kB / 0.6626 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.1978, allocations: 0.6729 MB / 0.6633 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.166e-05/0.1978, allocations: 8.172 kB / 0.6633 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.571e-05/0.1979, allocations: 11.44 kB / 0.6633 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of SimCode: time 3.91e-07/0.1979, allocations: 0 / 0.6633 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of Templates: time 0.002236/0.2001, allocations: 316.4 kB / 0.6636 GB, free: 5.816 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example5.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example5.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1)