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.001372/0.001372, allocations: 117.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001566/0.001566, allocations: 204.6 kB / 18.74 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2019/0.2019, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 75.88 kB / 480.8 MB, free: 4.602 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3385, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.003472/0.342, allocations: 1.688 MB / 0.5321 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003023/0.3424, allocations: 75.53 kB / 0.5322 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.054e-05/0.3425, allocations: 3.625 kB / 0.5322 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.717e-05/0.3425, allocations: 11.86 kB / 0.5322 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.051e-05/0.3426, allocations: 13.06 kB / 0.5322 GB, free: 12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001707/0.3428, allocations: 28.75 kB / 0.5323 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.3429, allocations: 79.08 kB / 0.5324 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.3431, allocations: 50.5 kB / 0.5324 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.663e-05/0.3432, allocations: 34.88 kB / 0.5324 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.285e-05/0.3433, allocations: 43.42 kB / 0.5325 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.548e-05/0.3433, allocations: 9.875 kB / 0.5325 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.634e-05/0.3433, allocations: 7.625 kB / 0.5325 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.506e-05/0.3434, allocations: 13.81 kB / 0.5325 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.128e-05/0.3434, allocations: 40.05 kB / 0.5325 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000136/0.3436, allocations: 81.92 kB / 0.5326 GB, free: 11.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.3436, allocations: 1.469 kB / 0.5326 GB, free: 11.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3436, allocations: 0 / 0.5326 GB, free: 11.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.3436, allocations: 0 / 0.5326 GB, free: 11.73 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.0005683/0.3442, allocations: 394.5 kB / 0.533 GB, free: 11.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.3442, allocations: 8.812 kB / 0.533 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.217e-05/0.3443, allocations: 46.3 kB / 0.533 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.159e-05/0.3443, allocations: 13.38 kB / 0.5331 GB, free: 11.26 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/0.3446, allocations: 209.9 kB / 0.5333 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.3446, allocations: 7.5 kB / 0.5333 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.3447, allocations: 14.41 kB / 0.5333 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002653/0.3449, allocations: 120.6 kB / 0.5334 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.3449, allocations: 0 / 0.5334 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.345, allocations: 4 kB / 0.5334 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.345, allocations: 3.781 kB / 0.5334 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002119/0.3452, allocations: 73.55 kB / 0.5335 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005863/0.3458, allocations: 463.4 kB / 0.5339 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.346, allocations: 75.38 kB / 0.534 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.3461, allocations: 42.7 kB / 0.534 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.3461, allocations: 0 / 0.534 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.3462, allocations: 43.88 kB / 0.5341 GB, free: 10.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.3462, allocations: 0 / 0.5341 GB, free: 10.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004048/0.3466, allocations: 122.1 kB / 0.5342 GB, free: 10.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.3466, allocations: 52.78 kB / 0.5342 GB, free: 10.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.3467, allocations: 140 kB / 0.5344 GB, free: 10.06 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.3468, allocations: 25.7 kB / 0.5344 GB, free: 10.03 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.521e-05/0.3468, allocations: 101.8 kB / 0.5345 GB, free: 9.926 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.3469, allocations: 30.3 kB / 0.5345 GB, free: 9.898 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.093e-05/0.3469, allocations: 19.22 kB / 0.5345 GB, free: 9.879 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.3471, allocations: 321.6 kB / 0.5348 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.3472, allocations: 31.09 kB / 0.5349 GB, free: 9.543 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.331e-05/0.3473, allocations: 43.52 kB / 0.5349 GB, free: 9.512 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/0.3475, allocations: 70.86 kB / 0.535 GB, free: 9.469 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.3475, allocations: 3.938 kB / 0.535 GB, free: 9.465 MB / 398.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002338/0.3477, allocations: 114.8 kB / 0.5351 GB, free: 9.391 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.3477, allocations: 9.5 kB / 0.5351 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.3478, allocations: 3.984 kB / 0.5351 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.3478, allocations: 1.375 kB / 0.5351 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.3479, allocations: 19.11 kB / 0.5351 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.3479, allocations: 1.375 kB / 0.5351 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.028e-05/0.348, allocations: 12.06 kB / 0.5351 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.348, allocations: 2.75 kB / 0.5351 GB, free: 9.371 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.138e-05/0.3481, allocations: 129.8 kB / 0.5353 GB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.773e-05/0.3481, allocations: 12.03 kB / 0.5353 GB, free: 9.23 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002761/0.3484, allocations: 104.9 kB / 0.5354 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3484, allocations: 1.375 kB / 0.5354 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3484, allocations: 1.375 kB / 0.5354 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3484, allocations: 0 / 0.5354 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.3486, allocations: 200.8 kB / 0.5356 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3487, allocations: 1.375 kB / 0.5356 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.792e-05/0.3487, allocations: 21.67 kB / 0.5356 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3488, allocations: 4 kB / 0.5356 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.3488, allocations: 1.375 kB / 0.5356 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.3488, allocations: 0 / 0.5356 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3488, allocations: 0 / 0.5356 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002754/0.3491, allocations: 202.9 kB / 0.5358 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.998e-05/0.3491, allocations: 83.27 kB / 0.5359 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.3491, allocations: 5.062 kB / 0.5359 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.241e-05/0.3492, allocations: 7.984 kB / 0.5359 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.716e-05/0.3493, allocations: 6.531 kB / 0.5359 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.3493, allocations: 2.438 kB / 0.5359 GB, free: 8.637 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.684e-05/0.3493, allocations: 98.94 kB / 0.536 GB, free: 8.555 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3494, allocations: 0 / 0.536 GB, free: 8.555 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002435/0.3496, allocations: 27.27 kB / 0.536 GB, free: 8.539 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.0005666/0.3502, allocations: 0.7314 MB / 0.5367 GB, free: 7.836 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002474/0.3504, allocations: 76.92 kB / 0.5368 GB, free: 7.801 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3504, allocations: 0 / 0.5368 GB, free: 7.801 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.3505, allocations: 34.45 kB / 0.5368 GB, free: 7.789 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.3508, allocations: 13.7 kB / 0.5369 GB, free: 7.781 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.3525, allocations: 1.501 MB / 0.5383 GB, free: 6.422 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.3528, allocations: 0.7056 MB / 0.539 GB, free: 5.707 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.478e-05/0.3529, allocations: 4.312 kB / 0.539 GB, free: 5.707 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.869e-05/0.3529, allocations: 28.92 kB / 0.539 GB, free: 5.684 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3529, allocations: 4 kB / 0.539 GB, free: 5.68 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02006/0.373, allocations: 1.959 MB / 0.541 GB, free: 4.617 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.15/7.523, allocations: 23.77 kB / 0.541 GB, free: 4.605 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)