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.0008219/0.0008219, allocations: 93.67 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009131/0.0009132, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2185/0.2185, allocations: 46.19 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002741/0.0002741, allocations: 8 kB / 419.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1256, allocations: 63.56 MB / 483.2 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.002342/0.128, allocations: 1.394 MB / 484.6 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002943/0.1284, allocations: 75.69 kB / 484.6 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.1285, allocations: 4 kB / 484.6 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.631e-05/0.1285, allocations: 11.86 kB / 484.7 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.434e-05/0.1286, allocations: 3.938 kB / 484.7 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002039/0.1288, allocations: 27.98 kB / 484.7 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.129, allocations: 75.83 kB / 484.8 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002155/0.1292, allocations: 41.36 kB / 484.8 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.1293, allocations: 27.8 kB / 484.8 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.681e-05/0.1294, allocations: 31.8 kB / 484.9 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.371e-05/0.1294, allocations: 7.938 kB / 484.9 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.383e-05/0.1294, allocations: 0 / 484.9 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.675e-05/0.1295, allocations: 15.92 kB / 484.9 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.808e-05/0.1295, allocations: 61.44 kB / 484.9 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.1297, allocations: 67.92 kB / 485 MB, free: 2.223 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1297, allocations: 0 / 485 MB, free: 2.223 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1297, allocations: 0 / 485 MB, free: 2.223 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.1297, allocations: 0 / 485 MB, free: 2.223 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.0004928/0.1302, allocations: 387.4 kB / 485.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.1302, allocations: 8.875 kB / 485.4 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.323e-05/0.1303, allocations: 42.75 kB / 485.4 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.429e-05/0.1303, allocations: 12.75 kB / 485.4 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002048/0.1305, allocations: 208.1 kB / 485.7 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.1306, allocations: 8.562 kB / 485.7 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.1306, allocations: 4.375 kB / 485.7 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002664/0.1309, allocations: 123.5 kB / 485.8 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.1309, allocations: 4 kB / 485.8 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.1309, allocations: 4 kB / 485.8 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.1309, allocations: 0 / 485.8 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002493/0.1312, allocations: 87.88 kB / 485.9 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005787/0.1318, allocations: 460.6 kB / 486.3 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/0.132, allocations: 86.5 kB / 486.4 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.1321, allocations: 36.84 kB / 486.5 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.1321, allocations: 4 kB / 486.5 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.1322, allocations: 42.48 kB / 486.5 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.1322, allocations: 0 / 486.5 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004171/0.1326, allocations: 141.5 kB / 486.6 MB, free: 416 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.1326, allocations: 55.41 kB / 486.7 MB, free: 348 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.782e-05/0.1327, allocations: 130.1 kB / 486.8 MB, free: 208 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.1328, allocations: 25.7 kB / 486.8 MB, free: 176 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.607e-05/0.1328, allocations: 108.1 kB / 486.9 MB, free: 60 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.1329, allocations: 27.64 kB / 487 MB, free: 32 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-05/0.1329, allocations: 13.72 kB / 487 MB, free: 12 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.133, allocations: 322.8 kB / 487.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.1332, allocations: 31.98 kB / 487.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.1333, allocations: 53.62 kB / 487.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.1335, allocations: 81.92 kB / 487.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.1335, allocations: 3.938 kB / 487.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002602/0.1338, allocations: 125.4 kB / 487.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.1338, allocations: 7.938 kB / 487.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.485e-06/0.1338, allocations: 4 kB / 487.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.1338, allocations: 0 / 487.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.1339, allocations: 23.98 kB / 487.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.134, allocations: 0 / 487.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.847e-05/0.134, allocations: 23.92 kB / 487.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.1341, allocations: 4 kB / 487.7 MB, free: 15.32 MB / 366.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 8.155e-05/0.1341, allocations: 121.7 kB / 487.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.705e-05/0.1342, allocations: 4 kB / 487.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002884/0.1345, allocations: 122.3 kB / 487.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.1345, allocations: 3.984 kB / 487.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1345, allocations: 4 kB / 487.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1345, allocations: 0 / 487.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.1347, allocations: 201.5 kB / 488.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1347, allocations: 3.984 kB / 488.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.852e-05/0.1348, allocations: 16 kB / 488.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.1348, allocations: 3.984 kB / 488.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.1348, allocations: 8 kB / 488.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1348, allocations: 3.938 kB / 488.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1348, allocations: 0 / 488.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000287/0.1351, allocations: 207.4 kB / 488.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.342e-05/0.1352, allocations: 89 kB / 488.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.1352, allocations: 3.984 kB / 488.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.754e-05/0.1353, allocations: 12 kB / 488.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.1353, allocations: 7.984 kB / 488.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.1353, allocations: 0 / 488.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.462e-05/0.1354, allocations: 101.7 kB / 488.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1354, allocations: 0 / 488.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000221/0.1356, allocations: 12 kB / 488.6 MB, free: 14.31 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.0005521/0.1362, allocations: 0.7435 MB / 489.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002592/0.1365, allocations: 84.52 kB / 489.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1365, allocations: 0 / 489.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.1366, allocations: 44.03 kB / 489.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.1369, allocations: 8 kB / 489.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001646/0.1385, allocations: 1.574 MB / 491 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.1388, allocations: 0.6926 MB / 491.7 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.19e-05/0.1388, allocations: 12.42 kB / 491.7 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.257e-05/0.1389, allocations: 23.44 kB / 491.7 MB, free: 11 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1389, allocations: 3.938 kB / 491.7 MB, free: 10.99 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01133/0.1502, allocations: 1.693 MB / 493.4 MB, free: 9.402 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001777/0.1504, allocations: 187.1 kB / 493.6 MB, free: 9.145 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.696/1.847, allocations: 0 / 493.6 MB, free: 9.145 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)