Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_Blocks_Exponentiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Exponentiation,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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.001362/0.001362, allocations: 121.6 kB / 17.78 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.001435/0.001435, allocations: 199.9 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.488/1.488, allocations: 227.4 MB / 247 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2274/0.2274, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002427/0.002427, allocations: 79.88 kB / 480.9 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3749, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.003083/0.378, allocations: 1.692 MB / 0.5322 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002483/0.3783, allocations: 71.94 kB / 0.5323 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.05e-05/0.3784, allocations: 2.125 kB / 0.5323 GB, free: 12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.178e-05/0.3784, allocations: 11.86 kB / 0.5323 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.294e-05/0.3785, allocations: 9.062 kB / 0.5323 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001519/0.3787, allocations: 37 kB / 0.5324 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.3788, allocations: 83.48 kB / 0.5325 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.3789, allocations: 38.05 kB / 0.5325 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.061e-05/0.379, allocations: 39.06 kB / 0.5325 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.37e-05/0.3791, allocations: 42.67 kB / 0.5326 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.536e-05/0.3791, allocations: 10.97 kB / 0.5326 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.876e-05/0.3792, allocations: 7.312 kB / 0.5326 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.708e-05/0.3792, allocations: 21.86 kB / 0.5326 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.989e-05/0.3793, allocations: 36.81 kB / 0.5326 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.3794, allocations: 79.58 kB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.3794, allocations: 0 / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3794, allocations: 0 / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.3794, allocations: 0 / 0.5327 GB, free: 11.7 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.0006302/0.3801, allocations: 399.3 kB / 0.5331 GB, free: 11.29 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.3801, allocations: 12.91 kB / 0.5331 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.71e-05/0.3802, allocations: 38.38 kB / 0.5331 GB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.143e-05/0.3802, allocations: 14.19 kB / 0.5332 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.3805, allocations: 221 kB / 0.5334 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.3805, allocations: 7.625 kB / 0.5334 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.3805, allocations: 9.688 kB / 0.5334 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002796/0.3808, allocations: 122.2 kB / 0.5335 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.3808, allocations: 0 / 0.5335 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.3808, allocations: 4 kB / 0.5335 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.3808, allocations: 2.906 kB / 0.5335 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002307/0.3811, allocations: 78.36 kB / 0.5336 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006529/0.3817, allocations: 454.3 kB / 0.534 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/0.382, allocations: 78.23 kB / 0.5341 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.3821, allocations: 37.33 kB / 0.5341 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.3821, allocations: 5.312 kB / 0.5341 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.3821, allocations: 35.94 kB / 0.5342 GB, free: 10.29 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.3821, allocations: 0 / 0.5342 GB, free: 10.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000429/0.3826, allocations: 130.2 kB / 0.5343 GB, free: 10.21 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.3826, allocations: 52.78 kB / 0.5343 GB, free: 10.15 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.3827, allocations: 125.4 kB / 0.5345 GB, free: 10.04 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.3828, allocations: 31.08 kB / 0.5345 GB, free: 10 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.372e-05/0.3829, allocations: 108.4 kB / 0.5346 GB, free: 9.891 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.3829, allocations: 23.88 kB / 0.5346 GB, free: 9.871 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.916e-05/0.3829, allocations: 27.2 kB / 0.5346 GB, free: 9.844 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.3831, allocations: 316.2 kB / 0.5349 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.3832, allocations: 31.03 kB / 0.535 GB, free: 9.512 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.3833, allocations: 47.5 kB / 0.535 GB, free: 9.477 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/0.3835, allocations: 71.81 kB / 0.5351 GB, free: 9.434 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.3836, allocations: 3.938 kB / 0.5351 GB, free: 9.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002659/0.3838, allocations: 110.8 kB / 0.5352 GB, free: 9.359 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.3839, allocations: 5.375 kB / 0.5352 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.3839, allocations: 0 / 0.5352 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.3839, allocations: 5.438 kB / 0.5352 GB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.384, allocations: 23.8 kB / 0.5352 GB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.086e-06/0.384, allocations: 4.062 kB / 0.5352 GB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.292e-05/0.3841, allocations: 9.188 kB / 0.5352 GB, free: 9.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.3841, allocations: 6.234 kB / 0.5352 GB, free: 9.336 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 0.000106/0.3842, allocations: 125.1 kB / 0.5354 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.273e-05/0.3843, allocations: 8.047 kB / 0.5354 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003117/0.3846, allocations: 113.9 kB / 0.5355 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.3846, allocations: 5.438 kB / 0.5355 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3846, allocations: 0 / 0.5355 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3846, allocations: 0.5938 kB / 0.5355 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002447/0.3849, allocations: 201.1 kB / 0.5357 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3849, allocations: 1.219 kB / 0.5357 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.763e-05/0.385, allocations: 25.42 kB / 0.5357 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.385, allocations: 0 / 0.5357 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.385, allocations: 1.125 kB / 0.5357 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.385, allocations: 1.281 kB / 0.5357 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.385, allocations: 4 kB / 0.5357 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003245/0.3853, allocations: 201.7 kB / 0.5359 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.349e-05/0.3854, allocations: 84.25 kB / 0.536 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.3854, allocations: 1.125 kB / 0.536 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.921e-05/0.3855, allocations: 11.33 kB / 0.536 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.3856, allocations: 7.312 kB / 0.536 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.3856, allocations: 1.219 kB / 0.536 GB, free: 8.594 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.915e-05/0.3857, allocations: 111.4 kB / 0.5361 GB, free: 8.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3857, allocations: 0 / 0.5361 GB, free: 8.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002266/0.3859, allocations: 10.31 kB / 0.5361 GB, free: 8.5 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.0006684/0.3866, allocations: 0.7323 MB / 0.5368 GB, free: 7.797 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002714/0.3869, allocations: 69.36 kB / 0.5369 GB, free: 7.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3869, allocations: 0 / 0.5369 GB, free: 7.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.387, allocations: 42.89 kB / 0.5369 GB, free: 7.75 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.3873, allocations: 6.781 kB / 0.537 GB, free: 7.746 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.3892, allocations: 1.5 MB / 0.5384 GB, free: 6.383 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.3895, allocations: 0.6988 MB / 0.5391 GB, free: 5.676 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.741e-05/0.3896, allocations: 8.562 kB / 0.5391 GB, free: 5.672 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.131e-05/0.3897, allocations: 28.2 kB / 0.5391 GB, free: 5.648 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3897, allocations: 0 / 0.5391 GB, free: 5.648 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02359/0.4133, allocations: 1.987 MB / 0.5411 GB, free: 4.574 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.975/8.389, allocations: 9.781 kB / 0.5411 GB, free: 4.57 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Exponentiation.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Exponentiation.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Exponentiation.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Exponentiation.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_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_4_1_0-beta_om_ModelicaTest_Blocks_Exponentiation.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Exponentiation.pipe 2>&1)