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.001395/0.001394, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001618/0.001618, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2317/0.2317, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 75.88 kB / 480.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3875/0.3892, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.002834/0.3921, allocations: 1.692 MB / 0.5321 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002496/0.3924, allocations: 80.11 kB / 0.5322 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.675e-05/0.3925, allocations: 2.875 kB / 0.5322 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.068e-05/0.3925, allocations: 7.875 kB / 0.5322 GB, free: 12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.845e-05/0.3926, allocations: 11.12 kB / 0.5322 GB, free: 12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001617/0.3928, allocations: 34.83 kB / 0.5323 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.3929, allocations: 83.48 kB / 0.5324 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.3931, allocations: 37.36 kB / 0.5324 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.659e-05/0.3932, allocations: 36.91 kB / 0.5324 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.876e-05/0.3932, allocations: 43.12 kB / 0.5325 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.3933, allocations: 7.062 kB / 0.5325 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.331e-05/0.3933, allocations: 11.03 kB / 0.5325 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.665e-05/0.3933, allocations: 15.92 kB / 0.5325 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.252e-05/0.3934, allocations: 42.89 kB / 0.5325 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.3935, allocations: 75.25 kB / 0.5326 GB, free: 11.72 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.3935, allocations: 0 / 0.5326 GB, free: 11.72 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.11e-07/0.3935, allocations: 1.375 kB / 0.5326 GB, free: 11.72 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.3935, 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.0005365/0.3941, allocations: 401.5 kB / 0.533 GB, free: 11.31 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.3941, allocations: 9.625 kB / 0.533 GB, free: 11.31 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.062e-05/0.3941, allocations: 41.48 kB / 0.533 GB, free: 11.26 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.909e-05/0.3942, allocations: 10.22 kB / 0.5331 GB, free: 11.26 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.3945, allocations: 216.9 kB / 0.5333 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.3945, allocations: 8.844 kB / 0.5333 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.3945, allocations: 13.73 kB / 0.5333 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002734/0.3948, allocations: 118.9 kB / 0.5334 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.3948, allocations: 1.312 kB / 0.5334 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.3948, allocations: 7.984 kB / 0.5334 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.3948, allocations: 2.406 kB / 0.5334 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002348/0.3951, allocations: 74.69 kB / 0.5335 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006145/0.3957, allocations: 461.2 kB / 0.5339 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.3959, allocations: 78.39 kB / 0.534 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.396, allocations: 34.22 kB / 0.534 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.3961, allocations: 5.344 kB / 0.534 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.3961, allocations: 38.48 kB / 0.5341 GB, free: 10.31 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.3961, allocations: 1.312 kB / 0.5341 GB, free: 10.31 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004312/0.3965, allocations: 121 kB / 0.5342 GB, free: 10.24 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.3966, allocations: 52.94 kB / 0.5342 GB, free: 10.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.3967, allocations: 135 kB / 0.5344 GB, free: 10.06 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.3967, allocations: 33.7 kB / 0.5344 GB, free: 10.02 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.029e-05/0.3968, allocations: 100.9 kB / 0.5345 GB, free: 9.918 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.3968, allocations: 31.58 kB / 0.5345 GB, free: 9.891 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.1e-05/0.3969, allocations: 19.41 kB / 0.5345 GB, free: 9.871 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.397, allocations: 320.8 kB / 0.5348 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.97e-05/0.3971, allocations: 23.36 kB / 0.5349 GB, free: 9.543 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.3972, allocations: 49.94 kB / 0.5349 GB, free: 9.504 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002018/0.3974, allocations: 71.08 kB / 0.535 GB, free: 9.461 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.3975, allocations: 5.438 kB / 0.535 GB, free: 9.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002624/0.3977, allocations: 106.6 kB / 0.5351 GB, free: 9.391 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.3978, allocations: 7.938 kB / 0.5351 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3978, allocations: 9.094 kB / 0.5351 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.3978, allocations: 1.375 kB / 0.5351 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.3979, allocations: 23.11 kB / 0.5351 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.3979, allocations: 1.375 kB / 0.5351 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.371e-05/0.398, allocations: 12.05 kB / 0.5351 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.398, allocations: 2.75 kB / 0.5351 GB, free: 9.363 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 9.903e-05/0.3981, allocations: 121.8 kB / 0.5353 GB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.055e-05/0.3982, allocations: 8.031 kB / 0.5353 GB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002974/0.3985, allocations: 116.8 kB / 0.5354 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.3985, allocations: 1.375 kB / 0.5354 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3985, allocations: 1.375 kB / 0.5354 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3985, allocations: 0 / 0.5354 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/0.3987, allocations: 196.8 kB / 0.5356 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3987, allocations: 1.375 kB / 0.5356 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.187e-05/0.3988, allocations: 20.36 kB / 0.5356 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3988, allocations: 1.375 kB / 0.5356 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.3988, allocations: 5.375 kB / 0.5356 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3988, allocations: 3.938 kB / 0.5356 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3988, allocations: 0 / 0.5356 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002978/0.3992, allocations: 203.8 kB / 0.5358 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.453e-05/0.3992, allocations: 86.38 kB / 0.5359 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.3992, allocations: 1.375 kB / 0.5359 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.887e-05/0.3993, allocations: 12.12 kB / 0.5359 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.435e-05/0.3994, allocations: 6.734 kB / 0.5359 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.461e-06/0.3994, allocations: 1.375 kB / 0.5359 GB, free: 8.625 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.691e-05/0.3995, allocations: 105.1 kB / 0.536 GB, free: 8.539 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3995, allocations: 0 / 0.536 GB, free: 8.539 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002303/0.3997, allocations: 18.84 kB / 0.536 GB, free: 8.531 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.0005834/0.4003, allocations: 0.7308 MB / 0.5367 GB, free: 7.828 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002726/0.4006, allocations: 73.12 kB / 0.5368 GB, free: 7.797 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.4006, allocations: 0 / 0.5368 GB, free: 7.797 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.4007, allocations: 37.97 kB / 0.5368 GB, free: 7.781 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.401, allocations: 12.19 kB / 0.5369 GB, free: 7.773 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/0.4028, allocations: 1.5 MB / 0.5383 GB, free: 6.414 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.4031, allocations: 0.6982 MB / 0.539 GB, free: 5.707 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.066e-05/0.4032, allocations: 9.047 kB / 0.539 GB, free: 5.703 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.593e-05/0.4032, allocations: 27.83 kB / 0.539 GB, free: 5.68 MB / 398.1 MB Notification: Performance of SimCode: time 3e-07/0.4032, allocations: 0 / 0.539 GB, free: 5.68 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0198/0.4231, allocations: 1.992 MB / 0.541 GB, free: 4.594 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.642/8.065, allocations: 20.83 kB / 0.541 GB, free: 4.578 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 & /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)