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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001225/0.001225, allocations: 199 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.2 MB / 245 MB, free: 5.762 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001011/0.00101, allocations: 107.4 kB / 297.3 MB, free: 5.941 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4287/0.4287, allocations: 45.22 MB / 394.6 MB, free: 31.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002851/0.0002852, allocations: 8 kB / 468.5 MB, free: 7.605 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.3802, allocations: 63.25 MB / 0.5193 GB, free: 37.61 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1227/0.5029, allocations: 87.2 MB / 0.6044 GB, free: 224 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001801/0.5032, allocations: 63.94 kB / 0.6045 GB, free: 164 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003426/0.5066, allocations: 1.389 MB / 0.6058 GB, free: 14.77 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5066, allocations: 0 / 0.6058 GB, free: 14.77 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.5066, allocations: 4 kB / 0.6058 GB, free: 14.76 MB / 426.7 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.0004828/0.5071, allocations: 383.2 kB / 0.6062 GB, free: 14.34 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.5072, allocations: 12.03 kB / 0.6062 GB, free: 14.32 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.609e-05/0.5072, allocations: 42.56 kB / 0.6063 GB, free: 14.27 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.288e-05/0.5073, allocations: 7.906 kB / 0.6063 GB, free: 14.27 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/0.5075, allocations: 214.9 kB / 0.6065 GB, free: 14.02 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.5076, allocations: 8.188 kB / 0.6065 GB, free: 14.01 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.5076, allocations: 8 kB / 0.6065 GB, free: 14 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003286/0.5079, allocations: 122.1 kB / 0.6066 GB, free: 13.87 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.508, allocations: 0 / 0.6066 GB, free: 13.87 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.508, allocations: 8 kB / 0.6066 GB, free: 13.86 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.508, allocations: 0 / 0.6066 GB, free: 13.86 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002362/0.5082, allocations: 87.89 kB / 0.6067 GB, free: 13.78 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005916/0.5088, allocations: 460.8 kB / 0.6071 GB, free: 13.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/0.509, allocations: 86.47 kB / 0.6072 GB, free: 13.18 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.5091, allocations: 4.031 kB / 0.6072 GB, free: 13.18 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.5091, allocations: 34.56 kB / 0.6073 GB, free: 13.13 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.5091, allocations: 3.938 kB / 0.6073 GB, free: 13.13 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004242/0.5095, allocations: 141.5 kB / 0.6074 GB, free: 12.98 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.5096, allocations: 55.39 kB / 0.6074 GB, free: 12.92 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.5097, allocations: 115.4 kB / 0.6076 GB, free: 12.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.5097, allocations: 33.64 kB / 0.6076 GB, free: 12.76 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.763e-05/0.5098, allocations: 112.3 kB / 0.6077 GB, free: 12.64 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.942e-05/0.5098, allocations: 23.69 kB / 0.6077 GB, free: 12.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/0.5098, allocations: 0 / 0.6077 GB, free: 12.62 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.5099, allocations: 322.8 kB / 0.608 GB, free: 12.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.51, allocations: 31.97 kB / 0.6081 GB, free: 12.26 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.5102, allocations: 49.69 kB / 0.6081 GB, free: 12.21 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.5103, allocations: 35.98 kB / 0.6081 GB, free: 12.17 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5103, allocations: 0 / 0.6081 GB, free: 12.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002545/0.5105, allocations: 117.5 kB / 0.6083 GB, free: 12.05 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.5106, allocations: 11.03 kB / 0.6083 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.5106, allocations: 0 / 0.6083 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.5106, allocations: 3.938 kB / 0.6083 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.5107, allocations: 19.98 kB / 0.6083 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.5107, allocations: 8.031 kB / 0.6083 GB, free: 12.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.819e-05/0.5108, allocations: 15.83 kB / 0.6083 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.5108, allocations: 4 kB / 0.6083 GB, free: 11.99 MB / 426.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.768e-05/0.5109, allocations: 125.7 kB / 0.6084 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.964e-05/0.511, allocations: 11.89 kB / 0.6084 GB, free: 11.85 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002945/0.5113, allocations: 122.3 kB / 0.6086 GB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.5113, allocations: 0 / 0.6086 GB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.5113, allocations: 4 kB / 0.6086 GB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.5113, allocations: 0 / 0.6086 GB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.5115, allocations: 201.6 kB / 0.6088 GB, free: 11.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.5115, allocations: 0 / 0.6088 GB, free: 11.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.448e-05/0.5116, allocations: 19.98 kB / 0.6088 GB, free: 11.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.5116, allocations: 4 kB / 0.6088 GB, free: 11.45 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.5116, allocations: 0 / 0.6088 GB, free: 11.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.5116, allocations: 3.938 kB / 0.6088 GB, free: 11.44 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.5116, allocations: 0 / 0.6088 GB, free: 11.44 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003029/0.5119, allocations: 215.8 kB / 0.609 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.894e-05/0.512, allocations: 88.95 kB / 0.6091 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.512, allocations: 192 / 0.6091 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.812e-05/0.5121, allocations: 8 kB / 0.6091 GB, free: 11.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.5121, allocations: 11.92 kB / 0.6091 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.5122, allocations: 0 / 0.6091 GB, free: 11.09 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.926e-05/0.5122, allocations: 101.1 kB / 0.6092 GB, free: 10.99 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5122, allocations: 0 / 0.6092 GB, free: 10.99 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002111/0.5124, allocations: 20 kB / 0.6092 GB, free: 10.97 MB / 426.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005838/0.513, allocations: 0.7436 MB / 0.6099 GB, free: 10.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000256/0.5133, allocations: 79.89 kB / 0.61 GB, free: 10.12 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.614e-06/0.5133, allocations: 0 / 0.61 GB, free: 10.12 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.5134, allocations: 44.03 kB / 0.6101 GB, free: 10.08 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.5136, allocations: 8 kB / 0.6101 GB, free: 10.07 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.5149, allocations: 0.7716 MB / 0.6108 GB, free: 9.254 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.5152, allocations: 0.7043 MB / 0.6115 GB, free: 8.523 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.343e-05/0.5153, allocations: 12.42 kB / 0.6115 GB, free: 8.508 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.556e-05/0.5153, allocations: 27.42 kB / 0.6115 GB, free: 8.484 MB / 426.7 MB Notification: Performance of SimCode: time 6.31e-07/0.5153, allocations: 0 / 0.6115 GB, free: 8.484 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01196/0.5273, allocations: 1.635 MB / 0.6131 GB, free: 6.949 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00017/0.5275, allocations: 165.8 kB / 0.6133 GB, free: 6.711 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.478/2.006, allocations: 96 / 0.6133 GB, free: 6.711 MB / 426.7 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/linux/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)