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.001044/0.001044, allocations: 98.64 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001073/0.001073, allocations: 202.5 kB / 17.9 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.3 MB / 245.9 MB, free: 12.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2493/0.2493, allocations: 45.91 MB / 344 MB, free: 12.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002759/0.0002759, allocations: 8 kB / 418.1 MB, free: 20.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1403, allocations: 63.46 MB / 481.5 MB, free: 5.312 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.001951/0.1423, allocations: 1.374 MB / 482.9 MB, free: 3.926 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003056/0.1427, allocations: 67.77 kB / 483 MB, free: 3.859 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.647e-05/0.1428, allocations: 0 / 483 MB, free: 3.859 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.891e-05/0.1428, allocations: 7.938 kB / 483 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.138e-05/0.1429, allocations: 7.922 kB / 483 MB, free: 3.844 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001489/0.1431, allocations: 27.97 kB / 483 MB, free: 3.816 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.226e-05/0.1432, allocations: 47.89 kB / 483 MB, free: 3.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.1433, allocations: 25.39 kB / 483.1 MB, free: 3.742 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.94e-05/0.1434, allocations: 31.78 kB / 483.1 MB, free: 3.711 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.829e-05/0.1435, allocations: 27.86 kB / 483.1 MB, free: 3.684 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.1435, allocations: 0 / 483.1 MB, free: 3.684 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.584e-05/0.1435, allocations: 8 kB / 483.1 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.23e-05/0.1436, allocations: 11.92 kB / 483.1 MB, free: 3.664 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.611e-05/0.1436, allocations: 37.64 kB / 483.2 MB, free: 3.621 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.824e-05/0.1437, allocations: 56.11 kB / 483.2 MB, free: 3.566 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.1437, allocations: 0 / 483.2 MB, free: 3.566 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1437, allocations: 0 / 483.2 MB, free: 3.566 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.1437, allocations: 0 / 483.2 MB, free: 3.566 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.0005167/0.1443, allocations: 379.3 kB / 483.6 MB, free: 3.145 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.1443, allocations: 12.03 kB / 483.6 MB, free: 3.133 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.217e-05/0.1444, allocations: 42.55 kB / 483.7 MB, free: 3.082 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.955e-05/0.1444, allocations: 15.81 kB / 483.7 MB, free: 3.066 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.1447, allocations: 206.5 kB / 483.9 MB, free: 2.828 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.1447, allocations: 8.188 kB / 483.9 MB, free: 2.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.1447, allocations: 12 kB / 483.9 MB, free: 2.809 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002542/0.145, allocations: 116.7 kB / 484 MB, free: 2.684 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.145, allocations: 0 / 484 MB, free: 2.684 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.145, allocations: 4 kB / 484 MB, free: 2.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.145, allocations: 4 kB / 484 MB, free: 2.676 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000229/0.1452, allocations: 87.83 kB / 484.1 MB, free: 2.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006678/0.1459, allocations: 464.8 kB / 484.6 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002458/0.1462, allocations: 82.56 kB / 484.6 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.1462, allocations: 0 / 484.6 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.1463, allocations: 34.56 kB / 484.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 2.945e-06/0.1463, allocations: 3.938 kB / 484.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004767/0.1467, allocations: 149.7 kB / 484.8 MB, free: 1.793 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.1468, allocations: 55.39 kB / 484.9 MB, free: 1.727 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.1469, allocations: 124.9 kB / 485 MB, free: 1.598 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.147, allocations: 29.7 kB / 485 MB, free: 1.562 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.782e-05/0.147, allocations: 108.1 kB / 485.1 MB, free: 1.449 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/0.1471, allocations: 31.55 kB / 485.2 MB, free: 1.418 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.714e-06/0.1471, allocations: 4 kB / 485.2 MB, free: 1.414 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1472, allocations: 322.8 kB / 485.5 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.1474, allocations: 35.92 kB / 485.5 MB, free: 1.055 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.1475, allocations: 53.62 kB / 485.6 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.1476, allocations: 27.98 kB / 485.6 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.1476, allocations: 0 / 485.6 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002731/0.1479, allocations: 121.5 kB / 485.7 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.1479, allocations: 4 kB / 485.7 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.1479, allocations: 0 / 485.7 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.1479, allocations: 4 kB / 485.7 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.1481, allocations: 23.92 kB / 485.8 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.1481, allocations: 4.031 kB / 485.8 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.962e-05/0.1482, allocations: 12 kB / 485.8 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.1482, allocations: 7.984 kB / 485.8 MB, free: 0.7891 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 0.0001013/0.1483, allocations: 117.8 kB / 485.9 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.048e-05/0.1483, allocations: 7.906 kB / 485.9 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003064/0.1486, allocations: 126.3 kB / 486 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.1487, allocations: 3.984 kB / 486 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.1487, allocations: 0 / 486 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.1487, allocations: 0 / 486 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/0.1489, allocations: 197.6 kB / 486.2 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1489, allocations: 0 / 486.2 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.85e-05/0.149, allocations: 19.98 kB / 486.2 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.149, allocations: 8 kB / 486.2 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.149, allocations: 4 kB / 486.2 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.149, allocations: 0 / 486.2 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.149, allocations: 0 / 486.2 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002907/0.1493, allocations: 223.7 kB / 486.5 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.538e-05/0.1494, allocations: 88.95 kB / 486.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.1494, allocations: 192 / 486.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.118e-05/0.1495, allocations: 15.98 kB / 486.6 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.1496, allocations: 3.938 kB / 486.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.1496, allocations: 7.984 kB / 486.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.823e-05/0.1497, allocations: 99.27 kB / 486.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1497, allocations: 4 kB / 486.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002302/0.1499, allocations: 15.91 kB / 486.7 MB, free: 15.77 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.0006463/0.1505, allocations: 0.7401 MB / 487.4 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002673/0.1508, allocations: 71.95 kB / 487.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1508, allocations: 3.938 kB / 487.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.151, allocations: 43.98 kB / 487.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.1512, allocations: 11.98 kB / 487.6 MB, free: 14.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.1524, allocations: 0.7758 MB / 488.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.1528, allocations: 0.7004 MB / 489 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.674e-05/0.1528, allocations: 12.44 kB / 489.1 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.306e-05/0.1529, allocations: 27.42 kB / 489.1 MB, free: 13.28 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1529, allocations: 0 / 489.1 MB, free: 13.28 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01249/0.1654, allocations: 1.64 MB / 490.7 MB, free: 11.74 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002826/0.1657, allocations: 176.7 kB / 490.9 MB, free: 11.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.61/1.776, allocations: 0 / 490.9 MB, free: 11.5 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)