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.001091/0.001091, allocations: 121.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001205/0.001205, allocations: 204.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2207/0.2207, allocations: 46.09 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002566/0.002567, allocations: 79.86 kB / 480.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.401/0.4036, allocations: 62.44 MB / 0.5305 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.002989/0.4066, allocations: 1.682 MB / 0.5322 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002831/0.407, allocations: 62.64 kB / 0.5322 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.835e-05/0.407, allocations: 8.469 kB / 0.5322 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.059e-05/0.4071, allocations: 11.86 kB / 0.5322 GB, free: 12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.594e-05/0.4072, allocations: 11.86 kB / 0.5322 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000185/0.4074, allocations: 33.31 kB / 0.5323 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.4075, allocations: 83.36 kB / 0.5324 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.4077, allocations: 45.02 kB / 0.5324 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.4078, allocations: 36.47 kB / 0.5324 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.561e-05/0.4079, allocations: 43.11 kB / 0.5325 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.4079, allocations: 7.188 kB / 0.5325 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.775e-05/0.4079, allocations: 11.19 kB / 0.5325 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.634e-05/0.408, allocations: 17.67 kB / 0.5325 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.561e-05/0.408, allocations: 34.97 kB / 0.5325 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.4082, allocations: 83.7 kB / 0.5326 GB, free: 11.71 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4082, allocations: 2.281 kB / 0.5326 GB, free: 11.71 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.4082, allocations: 0 / 0.5326 GB, free: 11.71 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.4082, allocations: 0 / 0.5326 GB, free: 11.71 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.000599/0.4088, allocations: 398.1 kB / 0.533 GB, free: 11.3 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.4089, allocations: 8.406 kB / 0.533 GB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.007e-05/0.4089, allocations: 42.72 kB / 0.5331 GB, free: 11.26 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.409, allocations: 14.94 kB / 0.5331 GB, free: 11.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.4093, allocations: 218.4 kB / 0.5333 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.4093, allocations: 9.438 kB / 0.5333 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.4093, allocations: 9.5 kB / 0.5333 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002688/0.4096, allocations: 119.1 kB / 0.5334 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.4096, allocations: 0 / 0.5334 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.4096, allocations: 5.375 kB / 0.5334 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.4096, allocations: 2.75 kB / 0.5334 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000237/0.4099, allocations: 81.94 kB / 0.5335 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000636/0.4105, allocations: 454.3 kB / 0.5339 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.4107, allocations: 76.86 kB / 0.534 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.4109, allocations: 38.69 kB / 0.534 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.4109, allocations: 1.375 kB / 0.534 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.411, allocations: 42.56 kB / 0.5341 GB, free: 10.3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.411, allocations: 5.312 kB / 0.5341 GB, free: 10.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004344/0.4114, allocations: 133.4 kB / 0.5342 GB, free: 10.22 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.4115, allocations: 52.56 kB / 0.5343 GB, free: 10.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.4116, allocations: 129.2 kB / 0.5344 GB, free: 10.04 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.4116, allocations: 25.7 kB / 0.5344 GB, free: 10.01 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.828e-05/0.4117, allocations: 106 kB / 0.5345 GB, free: 9.906 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/0.4117, allocations: 29.69 kB / 0.5345 GB, free: 9.879 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-05/0.4118, allocations: 28.67 kB / 0.5346 GB, free: 9.852 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.4119, allocations: 312.2 kB / 0.5349 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.412, allocations: 31 kB / 0.5349 GB, free: 9.523 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.4121, allocations: 47.47 kB / 0.5349 GB, free: 9.488 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002364/0.4124, allocations: 70.62 kB / 0.535 GB, free: 9.445 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.4124, allocations: 5.188 kB / 0.535 GB, free: 9.441 MB / 398.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002891/0.4127, allocations: 109.8 kB / 0.5351 GB, free: 9.371 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.4127, allocations: 5.562 kB / 0.5351 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.4127, allocations: 0 / 0.5351 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.4128, allocations: 1.125 kB / 0.5351 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.4129, allocations: 22.95 kB / 0.5351 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.4129, allocations: 1.062 kB / 0.5351 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.414e-05/0.413, allocations: 17.45 kB / 0.5352 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.413, allocations: 2.844 kB / 0.5352 GB, free: 9.352 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.000152/0.4132, allocations: 121.9 kB / 0.5353 GB, free: 9.227 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.125e-05/0.4132, allocations: 10.67 kB / 0.5353 GB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003636/0.4136, allocations: 114.6 kB / 0.5354 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.4136, allocations: 1.188 kB / 0.5354 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.4136, allocations: 0 / 0.5354 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.4136, allocations: 0 / 0.5354 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002729/0.4139, allocations: 201.4 kB / 0.5356 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.4139, allocations: 1.062 kB / 0.5356 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.902e-05/0.414, allocations: 16.7 kB / 0.5356 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.414, allocations: 1.125 kB / 0.5356 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.4141, allocations: 5.094 kB / 0.5356 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.4141, allocations: 3.938 kB / 0.5356 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4141, allocations: 5.125 kB / 0.5356 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003754/0.4145, allocations: 202.2 kB / 0.5358 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.498e-05/0.4145, allocations: 83.53 kB / 0.5359 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.4146, allocations: 1.406 kB / 0.5359 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.4147, allocations: 11.61 kB / 0.5359 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.629e-05/0.4148, allocations: 6.422 kB / 0.5359 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.587e-06/0.4148, allocations: 6.594 kB / 0.5359 GB, free: 8.609 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001024/0.4149, allocations: 103 kB / 0.536 GB, free: 8.52 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4149, allocations: 1.062 kB / 0.536 GB, free: 8.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002467/0.4151, allocations: 10.84 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.0007552/0.4159, allocations: 0.7307 MB / 0.5367 GB, free: 7.816 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003376/0.4162, allocations: 70.52 kB / 0.5368 GB, free: 7.789 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4163, allocations: 0 / 0.5368 GB, free: 7.789 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.4164, allocations: 34.39 kB / 0.5368 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.0003492/0.4168, allocations: 16.12 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.002618/0.4194, allocations: 1.514 MB / 0.5383 GB, free: 6.395 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.4197, allocations: 0.6982 MB / 0.539 GB, free: 5.688 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.045e-05/0.4198, allocations: 12.3 kB / 0.539 GB, free: 5.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.107e-05/0.4199, allocations: 24.69 kB / 0.5391 GB, free: 5.66 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4199, allocations: 0 / 0.5391 GB, free: 5.66 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0204/0.4403, allocations: 1.964 MB / 0.541 GB, free: 4.59 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.699/8.139, allocations: 24.14 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)