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.0012/0.0012, allocations: 103.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001218/0.001218, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2225/0.2225, allocations: 46.1 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001704/0.001705, allocations: 78.47 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1507, allocations: 62.43 MB / 480.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.004283/0.155, allocations: 1.69 MB / 481.8 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003343/0.1554, allocations: 79.7 kB / 481.9 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.1555, allocations: 4 kB / 481.9 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.902e-05/0.1556, allocations: 7.875 kB / 481.9 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.562e-05/0.1557, allocations: 11.86 kB / 481.9 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001622/0.1559, allocations: 27.95 kB / 481.9 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.156, allocations: 83.78 kB / 482 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001672/0.1562, allocations: 41.38 kB / 482.1 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.1563, allocations: 39.84 kB / 482.1 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.519e-05/0.1564, allocations: 35.77 kB / 482.1 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.57e-05/0.1564, allocations: 8 kB / 482.1 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.953e-05/0.1564, allocations: 8 kB / 482.1 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.892e-05/0.1565, allocations: 15.94 kB / 482.2 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.139e-05/0.1565, allocations: 39.73 kB / 482.2 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000151/0.1567, allocations: 79.92 kB / 482.3 MB, free: 3.023 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.1567, allocations: 7.938 kB / 482.3 MB, free: 3.016 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1567, allocations: 4 kB / 482.3 MB, free: 3.012 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.1567, allocations: 0 / 482.3 MB, free: 3.012 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.0006551/0.1574, allocations: 387.3 kB / 482.7 MB, free: 2.582 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.1574, allocations: 12.03 kB / 482.7 MB, free: 2.57 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.975e-05/0.1575, allocations: 38.73 kB / 482.7 MB, free: 2.523 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.281e-05/0.1575, allocations: 16.84 kB / 482.7 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.1578, allocations: 196.2 kB / 482.9 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.1578, allocations: 12.56 kB / 482.9 MB, free: 2.266 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.1578, allocations: 8.375 kB / 482.9 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003268/0.1582, allocations: 122.4 kB / 483.1 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.1582, allocations: 0 / 483.1 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.1582, allocations: 0 / 483.1 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.1582, allocations: 4 kB / 483.1 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002492/0.1585, allocations: 75.94 kB / 483.1 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006926/0.1592, allocations: 448.6 kB / 483.6 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/0.1594, allocations: 90.41 kB / 483.7 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.1595, allocations: 32.88 kB / 483.7 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.1596, allocations: 4 kB / 483.7 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.1596, allocations: 30.56 kB / 483.7 MB, free: 1.383 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.1596, allocations: 0 / 483.7 MB, free: 1.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004512/0.1601, allocations: 137.5 kB / 483.9 MB, free: 1.242 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.1601, allocations: 55.34 kB / 483.9 MB, free: 1.176 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.1603, allocations: 130.1 kB / 484.1 MB, free: 1.039 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.1603, allocations: 29.7 kB / 484.1 MB, free: 1.004 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.407e-05/0.1604, allocations: 108.1 kB / 484.2 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.1604, allocations: 27.56 kB / 484.2 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.042e-05/0.1605, allocations: 21.7 kB / 484.2 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.1606, allocations: 326.8 kB / 484.6 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.1607, allocations: 19.98 kB / 484.6 MB, free: 500 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.1609, allocations: 45.69 kB / 484.6 MB, free: 448 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002189/0.1611, allocations: 77.61 kB / 484.7 MB, free: 364 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.1611, allocations: 7.938 kB / 484.7 MB, free: 356 kB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002669/0.1614, allocations: 101.9 kB / 484.8 MB, free: 248 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.1614, allocations: 11.94 kB / 484.8 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.1614, allocations: 80 / 484.8 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.1614, allocations: 0 / 484.8 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.1616, allocations: 23.92 kB / 484.8 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.1616, allocations: 3.984 kB / 484.8 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.055e-05/0.1617, allocations: 12.02 kB / 484.9 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.1617, allocations: 4 kB / 484.9 MB, free: 192 kB / 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 9.444e-05/0.1618, allocations: 121.8 kB / 485 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.212e-05/0.1618, allocations: 7.906 kB / 485 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003358/0.1621, allocations: 114.4 kB / 485.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.1622, allocations: 0 / 485.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1622, allocations: 3.984 kB / 485.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1622, allocations: 4 kB / 485.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002181/0.1624, allocations: 201.5 kB / 485.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1624, allocations: 0 / 485.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.934e-05/0.1625, allocations: 19.98 kB / 485.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.1625, allocations: 3.984 kB / 485.3 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.1625, allocations: 0 / 485.3 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.1626, allocations: 0 / 485.3 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1626, allocations: 0 / 485.3 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003372/0.1629, allocations: 211.3 kB / 485.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.271e-05/0.163, allocations: 85.02 kB / 485.6 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.163, allocations: 7.984 kB / 485.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.606e-05/0.1631, allocations: 4 kB / 485.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.1631, allocations: 8.172 kB / 485.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.1631, allocations: 0 / 485.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.687e-05/0.1632, allocations: 103.2 kB / 485.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1632, allocations: 0 / 485.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002356/0.1635, allocations: 23.91 kB / 485.8 MB, free: 15.18 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.0005951/0.1641, allocations: 0.724 MB / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002718/0.1643, allocations: 76.02 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1644, allocations: 4 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.1645, allocations: 35.91 kB / 486.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.1648, allocations: 10.25 kB / 486.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001854/0.1667, allocations: 1.505 MB / 488.1 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.167, allocations: 0.708 MB / 488.8 MB, free: 11.99 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.351e-05/0.167, allocations: 4.438 kB / 488.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.51e-05/0.1671, allocations: 27.42 kB / 488.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1671, allocations: 0 / 488.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0196/0.1867, allocations: 1.926 MB / 490.8 MB, free: 10.08 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.567/7.753, allocations: 7.047 kB / 490.8 MB, free: 10.07 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_Blocks_Exponentiation.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.pipe 2>&1)