Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001907/0.001907, allocations: 112.5 kB / 17.86 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002289/0.00229, allocations: 209.7 kB / 18.79 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.159/2.159, allocations: 227.4 MB / 246.9 MB, free: 10.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3868/0.3868, allocations: 46.1 MB / 344.3 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002515/0.002515, allocations: 74.31 kB / 417.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1633, allocations: 62.45 MB / 479.9 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002908/0.1663, allocations: 1.27 MB / 481.2 MB, free: 4.414 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007564/0.1671, allocations: 336.2 kB / 481.5 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.174e-05/0.1671, allocations: 3.938 kB / 481.5 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.929e-05/0.1672, allocations: 0 / 481.5 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.382e-05/0.1672, allocations: 3.984 kB / 481.5 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003983/0.1676, allocations: 43.89 kB / 481.6 MB, free: 4.035 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.076e-05/0.1677, allocations: 11.98 kB / 481.6 MB, free: 4.023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.888e-05/0.1677, allocations: 0 / 481.6 MB, free: 4.023 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.02e-05/0.1677, allocations: 4 kB / 481.6 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002366/0.168, allocations: 43.89 kB / 481.6 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.195e-06/0.168, allocations: 0 / 481.6 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.57e-06/0.168, allocations: 0 / 481.6 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.186e-05/0.168, allocations: 4 kB / 481.7 MB, free: 3.973 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.872e-05/0.1681, allocations: 0 / 481.7 MB, free: 3.973 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 3.352e-05/0.1681, allocations: 0 / 481.7 MB, free: 3.973 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1681, allocations: 0 / 481.7 MB, free: 3.973 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1681, allocations: 4 kB / 481.7 MB, free: 3.969 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.1681, allocations: 0 / 481.7 MB, free: 3.969 MB / 350.1 MB 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.0002849/0.1684, allocations: 315.6 kB / 482 MB, free: 3.609 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.1685, allocations: 8.875 kB / 482 MB, free: 3.602 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.674e-05/0.1685, allocations: 4.938 kB / 482 MB, free: 3.598 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.369e-05/0.1686, allocations: 160.4 kB / 482.1 MB, free: 3.402 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.1686, allocations: 384 / 482.1 MB, free: 3.402 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-06/0.1686, allocations: 384 / 482.1 MB, free: 3.402 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.437e-05/0.1687, allocations: 42.19 kB / 482.2 MB, free: 3.355 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.1687, allocations: 192 / 482.2 MB, free: 3.355 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.1688, allocations: 3.938 kB / 482.2 MB, free: 3.352 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1688, allocations: 0 / 482.2 MB, free: 3.352 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.62e-05/0.1688, allocations: 0 / 482.2 MB, free: 3.352 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003577/0.1692, allocations: 383.5 kB / 482.6 MB, free: 2.926 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.1693, allocations: 177 kB / 482.7 MB, free: 2.742 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.754e-05/0.1693, allocations: 80.14 kB / 482.8 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/0.1693, allocations: 75.28 kB / 482.9 MB, free: 2.586 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.502e-05/0.1694, allocations: 113.9 kB / 483 MB, free: 2.465 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.1694, allocations: 0 / 483 MB, free: 2.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.117e-05/0.1695, allocations: 25.7 kB / 483 MB, free: 2.434 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.176e-05/0.1696, allocations: 130.7 kB / 483.1 MB, free: 2.293 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.674e-05/0.1696, allocations: 93.86 kB / 483.2 MB, free: 2.191 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.1697, allocations: 25.7 kB / 483.3 MB, free: 2.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.404e-05/0.1697, allocations: 80.42 kB / 483.3 MB, free: 2.078 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.648e-06/0.1697, allocations: 11.86 kB / 483.4 MB, free: 2.066 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.813e-05/0.1698, allocations: 17.7 kB / 483.4 MB, free: 2.043 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.1699, allocations: 310.8 kB / 483.7 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.518e-06/0.1699, allocations: 8 kB / 483.7 MB, free: 1.723 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.528e-06/0.1699, allocations: 4.125 kB / 483.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.14e-05/0.1699, allocations: 4.859 kB / 483.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.17, allocations: 4 kB / 483.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.914e-05/0.1701, allocations: 33.64 kB / 483.7 MB, free: 1.668 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.1701, allocations: 4 kB / 483.7 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1701, allocations: 0 / 483.7 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.1701, allocations: 0 / 483.7 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.283e-05/0.1702, allocations: 7.984 kB / 483.7 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.1702, allocations: 4.031 kB / 483.7 MB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.52e-05/0.1702, allocations: 11.84 kB / 483.8 MB, free: 1.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.1702, allocations: 0 / 483.8 MB, free: 1.641 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.0001012/0.1703, allocations: 189.1 kB / 483.9 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.195e-05/0.1704, allocations: 105 kB / 484 MB, free: 1.336 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.079e-05/0.1704, allocations: 104.1 kB / 484.1 MB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.924e-05/0.1705, allocations: 180.2 kB / 484.3 MB, free: 1.047 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.429e-05/0.1706, allocations: 184.2 kB / 484.5 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.29e-05/0.1707, allocations: 184.2 kB / 484.7 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/0.1709, allocations: 405.2 kB / 485.1 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-05/0.171, allocations: 105 kB / 485.2 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.813e-05/0.171, allocations: 104.9 kB / 485.3 MB, free: 0 / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.135e-05/0.1711, allocations: 184.5 kB / 485.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.668e-05/0.1712, allocations: 180.2 kB / 485.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.949e-05/0.1713, allocations: 184.3 kB / 485.8 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.444e-05/0.1713, allocations: 180.2 kB / 486 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001453/0.1715, allocations: 307.7 kB / 486.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.403e-05/0.1716, allocations: 190 kB / 486.5 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.525e-05/0.1717, allocations: 176.3 kB / 486.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.811e-05/0.1718, allocations: 112.8 kB / 486.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.755e-05/0.1718, allocations: 176.3 kB / 486.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.382e-05/0.1719, allocations: 105 kB / 487 MB, free: 14.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.437e-05/0.1719, allocations: 79.28 kB / 487.1 MB, free: 14.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.653e-06/0.1719, allocations: 0 / 487.1 MB, free: 14.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002223/0.1722, allocations: 3.938 kB / 487.1 MB, free: 14.05 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001408/0.1723, allocations: 175 kB / 487.3 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 5.963e-05/0.1724, allocations: 4 kB / 487.3 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1724, allocations: 4 kB / 487.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.402e-06/0.1724, allocations: 0 / 487.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000408/0.1728, allocations: 0.5264 MB / 487.8 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002771/0.1731, allocations: 188.3 kB / 488 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.1734, allocations: 0.6692 MB / 488.7 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.966e-05/0.1734, allocations: 7.438 kB / 488.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of SimCode: time 3.827e-06/0.1734, allocations: 0 / 488.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of Templates: time 0.001956/0.1754, allocations: 327.6 kB / 489 MB, free: 12.1 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe 2>&1)