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.001366/0.001366, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001387/0.001387, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2101/0.2101, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00292/0.00292, allocations: 79.88 kB / 480.8 MB, free: 4.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3672, allocations: 62.44 MB / 0.5305 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.002834/0.3701, allocations: 1.682 MB / 0.5322 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000267/0.3704, allocations: 70.27 kB / 0.5322 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.532e-05/0.3705, allocations: 4 kB / 0.5322 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.114e-05/0.3705, allocations: 11.86 kB / 0.5322 GB, free: 12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.158e-05/0.3706, allocations: 12.7 kB / 0.5323 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001629/0.3708, allocations: 33.16 kB / 0.5323 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.3709, allocations: 78.64 kB / 0.5324 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.3711, allocations: 41.55 kB / 0.5324 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.3712, allocations: 39.62 kB / 0.5324 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.062e-05/0.3713, allocations: 43.92 kB / 0.5325 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.58e-05/0.3713, allocations: 6.5 kB / 0.5325 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.466e-05/0.3713, allocations: 10.69 kB / 0.5325 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.723e-05/0.3713, allocations: 14.09 kB / 0.5325 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.733e-05/0.3714, allocations: 39.55 kB / 0.5325 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.3715, allocations: 79.73 kB / 0.5326 GB, free: 11.72 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.3715, allocations: 1.531 kB / 0.5326 GB, free: 11.72 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.3715, allocations: 0 / 0.5326 GB, free: 11.72 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.3716, allocations: 0 / 0.5326 GB, free: 11.72 MB / 398.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.0005209/0.3721, allocations: 393.9 kB / 0.533 GB, free: 11.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.3721, allocations: 14.14 kB / 0.533 GB, free: 11.31 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.502e-05/0.3722, allocations: 41.03 kB / 0.5331 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.451e-05/0.3722, allocations: 14.88 kB / 0.5331 GB, free: 11.26 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.3725, allocations: 220 kB / 0.5333 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.3725, allocations: 8.625 kB / 0.5333 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.3725, allocations: 10.69 kB / 0.5333 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.3728, allocations: 127.8 kB / 0.5334 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.3728, allocations: 3.938 kB / 0.5334 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.3728, allocations: 1.781 kB / 0.5334 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3728, allocations: 2.156 kB / 0.5334 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000227/0.3731, allocations: 76.45 kB / 0.5335 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005645/0.3736, allocations: 452.4 kB / 0.5339 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.3738, allocations: 81.97 kB / 0.534 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.374, allocations: 41.92 kB / 0.534 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.374, allocations: 1.938 kB / 0.534 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.374, allocations: 34.56 kB / 0.5341 GB, free: 10.3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.374, allocations: 1.812 kB / 0.5341 GB, free: 10.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004108/0.3744, allocations: 129.2 kB / 0.5342 GB, free: 10.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.3745, allocations: 52.78 kB / 0.5343 GB, free: 10.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.3746, allocations: 127 kB / 0.5344 GB, free: 10.05 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.3746, allocations: 31.08 kB / 0.5344 GB, free: 10.02 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.775e-05/0.3747, allocations: 104.4 kB / 0.5345 GB, free: 9.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.3747, allocations: 31.88 kB / 0.5345 GB, free: 9.883 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.751e-05/0.3747, allocations: 19.22 kB / 0.5346 GB, free: 9.863 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.3749, allocations: 321.6 kB / 0.5349 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.375, allocations: 29.66 kB / 0.5349 GB, free: 9.527 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.3751, allocations: 43.56 kB / 0.5349 GB, free: 9.496 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002067/0.3753, allocations: 72.06 kB / 0.535 GB, free: 9.453 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.3753, allocations: 3.938 kB / 0.535 GB, free: 9.449 MB / 398.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002505/0.3756, allocations: 105.5 kB / 0.5351 GB, free: 9.383 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.3756, allocations: 5.5 kB / 0.5351 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3756, allocations: 1.375 kB / 0.5351 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.3756, allocations: 1.375 kB / 0.5351 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.3757, allocations: 27.14 kB / 0.5351 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.3757, allocations: 0 / 0.5351 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.566e-05/0.3758, allocations: 9.438 kB / 0.5351 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.3758, allocations: 2.75 kB / 0.5352 GB, free: 9.367 MB / 398.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.815e-05/0.3759, allocations: 125.8 kB / 0.5353 GB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/0.376, allocations: 6.703 kB / 0.5353 GB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002861/0.3763, allocations: 118.2 kB / 0.5354 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3763, allocations: 1.375 kB / 0.5354 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3763, allocations: 0 / 0.5354 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3763, allocations: 192 / 0.5354 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.3765, allocations: 206.1 kB / 0.5356 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3765, allocations: 3.938 kB / 0.5356 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.446e-05/0.3766, allocations: 25.67 kB / 0.5356 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.3766, allocations: 1.375 kB / 0.5356 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.3766, allocations: 0 / 0.5356 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3766, allocations: 1.375 kB / 0.5356 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3766, allocations: 0 / 0.5356 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.3769, allocations: 206.5 kB / 0.5358 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.01e-05/0.377, allocations: 83.81 kB / 0.5359 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.377, allocations: 1.375 kB / 0.5359 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.077e-05/0.3771, allocations: 12.11 kB / 0.5359 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.3771, allocations: 2.75 kB / 0.5359 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.341e-06/0.3771, allocations: 5.375 kB / 0.5359 GB, free: 8.617 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.201e-05/0.3772, allocations: 110.7 kB / 0.536 GB, free: 8.523 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3772, allocations: 5.312 kB / 0.536 GB, free: 8.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002258/0.3774, allocations: 9.625 kB / 0.536 GB, free: 8.52 MB / 398.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.0005276/0.378, allocations: 0.7276 MB / 0.5367 GB, free: 7.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002594/0.3782, allocations: 72.94 kB / 0.5368 GB, free: 7.789 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.3782, allocations: 0.8125 kB / 0.5368 GB, free: 7.789 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.3784, allocations: 34.7 kB / 0.5369 GB, free: 7.777 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.3786, allocations: 10.77 kB / 0.5369 GB, free: 7.77 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.3804, allocations: 1.51 MB / 0.5383 GB, free: 6.398 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.3806, allocations: 0.6987 MB / 0.539 GB, free: 5.691 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.044e-05/0.3807, allocations: 8.188 kB / 0.539 GB, free: 5.688 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.601e-05/0.3808, allocations: 28.42 kB / 0.5391 GB, free: 5.664 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3808, allocations: 0 / 0.5391 GB, free: 5.664 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0175/0.3983, allocations: 1.963 MB / 0.541 GB, free: 4.598 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.724/8.122, allocations: 32.61 kB / 0.541 GB, free: 4.574 MB / 398.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)