Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.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: "" <> buildModelFMU(ModelicaTest.Blocks.Exponentiation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Exponentiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Exponentiation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Exponentiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001147/0.001147, allocations: 105.4 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001249/0.001249, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 227.4 MB / 246.3 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2268/0.2268, allocations: 46.1 MB / 343.6 MB, free: 11.84 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002138, allocations: 73.42 kB / 416.9 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1598, allocations: 62.45 MB / 479.4 MB, free: 5.668 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.00388/0.1638, allocations: 1.738 MB / 481.1 MB, free: 3.918 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003701/0.1642, allocations: 79.69 kB / 481.2 MB, free: 3.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001473/0.1643, allocations: 4 kB / 481.2 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.672e-05/0.1644, allocations: 3.938 kB / 481.2 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.28e-05/0.1645, allocations: 7.922 kB / 481.2 MB, free: 3.824 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001855/0.1647, allocations: 23.98 kB / 481.2 MB, free: 3.801 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.1649, allocations: 75.77 kB / 481.3 MB, free: 3.727 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001877/0.1651, allocations: 41.39 kB / 481.4 MB, free: 3.684 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.1652, allocations: 27.86 kB / 481.4 MB, free: 3.656 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.986e-05/0.1653, allocations: 39.78 kB / 481.4 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.637e-05/0.1653, allocations: 4 kB / 481.4 MB, free: 3.613 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.126e-05/0.1653, allocations: 4 kB / 481.4 MB, free: 3.609 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.099e-05/0.1654, allocations: 19.91 kB / 481.4 MB, free: 3.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.645e-05/0.1654, allocations: 43.73 kB / 481.5 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.1656, allocations: 71.94 kB / 481.6 MB, free: 3.477 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.1656, allocations: 7.938 kB / 481.6 MB, free: 3.469 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1656, allocations: 3.938 kB / 481.6 MB, free: 3.465 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.311e-06/0.1656, allocations: 0 / 481.6 MB, free: 3.465 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006283/0.1662, allocations: 391.3 kB / 482 MB, free: 3.031 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.1663, allocations: 12.88 kB / 482 MB, free: 3.02 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.618e-05/0.1664, allocations: 42.73 kB / 482 MB, free: 2.969 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.92e-05/0.1664, allocations: 8.844 kB / 482 MB, free: 2.961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.1666, allocations: 204.2 kB / 482.2 MB, free: 2.723 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.1667, allocations: 8.562 kB / 482.2 MB, free: 2.715 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.1667, allocations: 8.375 kB / 482.2 MB, free: 2.707 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002906/0.167, allocations: 122.6 kB / 482.4 MB, free: 2.578 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.167, allocations: 0 / 482.4 MB, free: 2.578 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.167, allocations: 0 / 482.4 MB, free: 2.578 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.167, allocations: 8 kB / 482.4 MB, free: 2.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002367/0.1673, allocations: 75.94 kB / 482.4 MB, free: 2.496 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006497/0.1679, allocations: 448.6 kB / 482.9 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/0.1682, allocations: 86.42 kB / 483 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/0.1683, allocations: 40.86 kB / 483 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.1683, allocations: 0 / 483 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.1684, allocations: 30.56 kB / 483 MB, free: 1.828 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.653e-06/0.1684, allocations: 0 / 483 MB, free: 1.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004422/0.1688, allocations: 133.5 kB / 483.2 MB, free: 1.691 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.1689, allocations: 55.48 kB / 483.2 MB, free: 1.625 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.169, allocations: 130.1 kB / 483.3 MB, free: 1.488 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.169, allocations: 25.7 kB / 483.4 MB, free: 1.457 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.426e-05/0.1691, allocations: 112.1 kB / 483.5 MB, free: 1.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.477e-05/0.1691, allocations: 27.56 kB / 483.5 MB, free: 1.312 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.713e-05/0.1692, allocations: 25.7 kB / 483.5 MB, free: 1.281 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.1693, allocations: 318.8 kB / 483.8 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.1694, allocations: 23.97 kB / 483.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.1695, allocations: 45.69 kB / 483.9 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/0.1698, allocations: 77.92 kB / 484 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.1698, allocations: 3.938 kB / 484 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002707/0.1701, allocations: 113.5 kB / 484.1 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.1701, allocations: 4 kB / 484.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1701, allocations: 0 / 484.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.1701, allocations: 0 / 484.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.1702, allocations: 24.11 kB / 484.1 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.1703, allocations: 0 / 484.1 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.74e-05/0.1703, allocations: 19.95 kB / 484.1 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-06/0.1704, allocations: 0 / 484.1 MB, free: 0.6367 MB / 350.1 MB 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 (9): * Single equations (assignments): 9 * 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.0001079/0.1705, allocations: 121.8 kB / 484.3 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.1705, allocations: 7.906 kB / 484.3 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003117/0.1708, allocations: 118.3 kB / 484.4 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.1708, allocations: 0 / 484.4 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.1708, allocations: 4 kB / 484.4 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1709, allocations: 0 / 484.4 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/0.1711, allocations: 201.5 kB / 484.6 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.1711, allocations: 4 kB / 484.6 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.142e-05/0.1712, allocations: 15.98 kB / 484.6 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1712, allocations: 0 / 484.6 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.1712, allocations: 0 / 484.6 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1712, allocations: 0 / 484.6 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1712, allocations: 4 kB / 484.6 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003193/0.1716, allocations: 207.3 kB / 484.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.525e-05/0.1716, allocations: 85.02 kB / 484.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.1716, allocations: 4 kB / 484.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.543e-05/0.1717, allocations: 7.984 kB / 484.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.802e-05/0.1718, allocations: 11.98 kB / 484.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.1718, allocations: 0 / 484.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.903e-05/0.1719, allocations: 106.4 kB / 485 MB, free: 15.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1719, allocations: 4 kB / 485 MB, free: 15.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002345/0.1721, allocations: 15.91 kB / 485 MB, free: 15.64 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 (8): * Single equations (assignments): 8 * 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.0005949/0.1727, allocations: 0.724 MB / 485.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002429/0.173, allocations: 67.95 kB / 485.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.173, allocations: 4 kB / 485.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.1731, allocations: 39.91 kB / 485.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.1734, allocations: 8 kB / 485.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001759/0.1752, allocations: 1.538 MB / 487.4 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.1755, allocations: 0.7005 MB / 488.1 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.568e-05/0.1756, allocations: 8.422 kB / 488.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.185e-05/0.1756, allocations: 23.44 kB / 488.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1756, allocations: 4 kB / 488.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0128/0.1885, allocations: 1.757 MB / 489.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001924/0.1887, allocations: 191.5 kB / 490.1 MB, free: 10.44 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/1.976, allocations: 0 / 490.1 MB, free: 10.44 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_Exponentiation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_Exponentiation.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.pipe 2>&1)