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.0007762/0.000776, allocations: 99.78 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009495/0.0009496, allocations: 193.3 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 227.4 MB / 246 MB, free: 11.99 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: 45.92 MB / 344.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000283/0.000283, allocations: 4 kB / 418.2 MB, free: 20.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1395, allocations: 63.46 MB / 481.6 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.002108/0.1416, allocations: 1.371 MB / 483 MB, free: 3.918 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002655/0.1419, allocations: 67.7 kB / 483.1 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.455e-05/0.142, allocations: 4 kB / 483.1 MB, free: 3.848 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.325e-05/0.142, allocations: 11.92 kB / 483.1 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.835e-05/0.1421, allocations: 7.922 kB / 483.1 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001456/0.1423, allocations: 23.98 kB / 483.1 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.1424, allocations: 71.83 kB / 483.2 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.1425, allocations: 25.39 kB / 483.2 MB, free: 3.707 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.782e-05/0.1426, allocations: 31.8 kB / 483.2 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.39e-05/0.1427, allocations: 27.86 kB / 483.3 MB, free: 3.648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.281e-05/0.1427, allocations: 0 / 483.3 MB, free: 3.648 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.556e-05/0.1428, allocations: 4 kB / 483.3 MB, free: 3.645 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.296e-05/0.1428, allocations: 15.91 kB / 483.3 MB, free: 3.629 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.348e-05/0.1429, allocations: 37.64 kB / 483.3 MB, free: 3.586 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.143, allocations: 52.12 kB / 483.4 MB, free: 3.535 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.143, allocations: 0 / 483.4 MB, free: 3.535 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.697e-06/0.143, allocations: 0 / 483.4 MB, free: 3.535 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.143, allocations: 0 / 483.4 MB, free: 3.535 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.0005831/0.1436, allocations: 387.2 kB / 483.8 MB, free: 3.105 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.1436, allocations: 12.03 kB / 483.8 MB, free: 3.094 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.617e-05/0.1437, allocations: 34.56 kB / 483.8 MB, free: 3.051 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.369e-05/0.1437, allocations: 15.81 kB / 483.8 MB, free: 3.035 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.144, allocations: 202.8 kB / 484 MB, free: 2.797 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.144, allocations: 8.188 kB / 484 MB, free: 2.789 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.144, allocations: 12 kB / 484 MB, free: 2.777 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/0.1443, allocations: 116.7 kB / 484.1 MB, free: 2.652 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.1443, allocations: 3.984 kB / 484.1 MB, free: 2.648 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.1443, allocations: 4 kB / 484.2 MB, free: 2.645 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.1444, allocations: 8 kB / 484.2 MB, free: 2.637 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002239/0.1446, allocations: 91.83 kB / 484.2 MB, free: 2.547 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006429/0.1452, allocations: 464.7 kB / 484.7 MB, free: 2.039 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.1455, allocations: 86.47 kB / 484.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.1456, allocations: 36.88 kB / 484.8 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.1456, allocations: 0 / 484.8 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.1457, allocations: 38.56 kB / 484.9 MB, free: 1.859 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 5.77e-06/0.1457, allocations: 0 / 484.9 MB, free: 1.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003945/0.1461, allocations: 141.5 kB / 485 MB, free: 1.715 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.1461, allocations: 59.41 kB / 485.1 MB, free: 1.645 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.1462, allocations: 125.1 kB / 485.2 MB, free: 1.516 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.1463, allocations: 29.7 kB / 485.2 MB, free: 1.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.379e-05/0.1463, allocations: 108.1 kB / 485.3 MB, free: 1.367 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.1464, allocations: 31.55 kB / 485.3 MB, free: 1.336 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-06/0.1464, allocations: 8 kB / 485.4 MB, free: 1.328 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.1465, allocations: 314.8 kB / 485.7 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.766e-05/0.1466, allocations: 35.97 kB / 485.7 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.633e-05/0.1467, allocations: 49.62 kB / 485.7 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.463e-05/0.1468, allocations: 35.98 kB / 485.8 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1468, allocations: 0 / 485.8 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002358/0.147, allocations: 121.9 kB / 485.9 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.1471, allocations: 4 kB / 485.9 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.1471, allocations: 0 / 485.9 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.1471, allocations: 0 / 485.9 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.1472, allocations: 31.91 kB / 485.9 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.1472, allocations: 4.062 kB / 485.9 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.982e-05/0.1473, allocations: 12 kB / 485.9 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.1473, allocations: 4.031 kB / 486 MB, free: 0.707 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.169e-05/0.1474, allocations: 117.8 kB / 486.1 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.913e-05/0.1474, allocations: 11.89 kB / 486.1 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002888/0.1477, allocations: 122.3 kB / 486.2 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1477, allocations: 4 kB / 486.2 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1478, allocations: 0 / 486.2 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1478, allocations: 0 / 486.2 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002083/0.148, allocations: 201.6 kB / 486.4 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.148, allocations: 0 / 486.4 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.857e-05/0.1481, allocations: 19.98 kB / 486.4 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1481, allocations: 0 / 486.4 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.1481, allocations: 4.188 kB / 486.4 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.1481, allocations: 7.938 kB / 486.4 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1481, allocations: 7.938 kB / 486.4 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003039/0.1484, allocations: 211.3 kB / 486.6 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.689e-05/0.1485, allocations: 84.95 kB / 486.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.1485, allocations: 4 kB / 486.7 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.011e-05/0.1486, allocations: 11.98 kB / 486.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/0.1487, allocations: 8 kB / 486.8 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-06/0.1487, allocations: 0 / 486.8 MB, free: 15.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.578e-05/0.1487, allocations: 95.27 kB / 486.8 MB, free: 15.72 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1487, allocations: 4 kB / 486.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002264/0.149, allocations: 15.91 kB / 486.9 MB, free: 15.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006681/0.1497, allocations: 0.7401 MB / 487.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002685/0.1499, allocations: 87.92 kB / 487.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1499, allocations: 0 / 487.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.1501, allocations: 39.92 kB / 487.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.1504, allocations: 10.28 kB / 487.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.1517, allocations: 0.625 MB / 488.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000385/0.1521, allocations: 0.7043 MB / 489.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.45e-05/0.1521, allocations: 4.438 kB / 489.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.529e-05/0.1522, allocations: 27.42 kB / 489.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1522, allocations: 0 / 489.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01394/0.1661, allocations: 1.667 MB / 490.8 MB, free: 11.8 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002/0.1664, allocations: 181.8 kB / 490.9 MB, free: 11.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.761/1.927, allocations: 3.938 kB / 490.9 MB, free: 11.55 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/linux/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)