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.00124/0.00124, allocations: 113.6 kB / 17.78 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.00131/0.00131, allocations: 204.7 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.476/1.476, allocations: 227.4 MB / 247 MB, free: 10.42 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.2533/0.2533, allocations: 46.13 MB / 344.4 MB, free: 11.45 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.002285/0.002285, allocations: 87.84 kB / 480.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4614/0.4637, allocations: 62.44 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.003453/0.4672, allocations: 1.69 MB / 0.5322 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003399/0.4675, allocations: 71.84 kB / 0.5323 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.868e-05/0.4676, allocations: 3.031 kB / 0.5323 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.63e-05/0.4677, allocations: 15.8 kB / 0.5323 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.884e-05/0.4678, allocations: 9.281 kB / 0.5323 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001874/0.468, allocations: 33.88 kB / 0.5324 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001394/0.4681, allocations: 79.23 kB / 0.5325 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.4683, allocations: 41.58 kB / 0.5325 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.4684, allocations: 42.52 kB / 0.5325 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.384e-05/0.4685, allocations: 38.94 kB / 0.5326 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.597e-05/0.4686, allocations: 7.156 kB / 0.5326 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.677e-05/0.4686, allocations: 10.34 kB / 0.5326 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.979e-05/0.4686, allocations: 15.56 kB / 0.5326 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.859e-05/0.4687, allocations: 38.58 kB / 0.5326 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.4689, allocations: 80.98 kB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4689, allocations: 0 / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 6.021e-06/0.4689, allocations: 0 / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.4689, allocations: 7.875 kB / 0.5327 GB, free: 11.68 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.0006486/0.4695, allocations: 390.7 kB / 0.5331 GB, free: 11.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.4696, allocations: 13.62 kB / 0.5331 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.832e-05/0.4696, allocations: 46.02 kB / 0.5332 GB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.413e-05/0.4697, allocations: 13.72 kB / 0.5332 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003381/0.47, allocations: 206.9 kB / 0.5334 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.4701, allocations: 10.53 kB / 0.5334 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.591e-05/0.4701, allocations: 9.875 kB / 0.5334 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003147/0.4704, allocations: 127.9 kB / 0.5335 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.4704, allocations: 0 / 0.5335 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.4705, allocations: 5.375 kB / 0.5335 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.4705, allocations: 2.75 kB / 0.5335 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002531/0.4707, allocations: 75.77 kB / 0.5336 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007364/0.4715, allocations: 452.9 kB / 0.534 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/0.4717, allocations: 78.17 kB / 0.5341 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.4718, allocations: 38.52 kB / 0.5341 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.4719, allocations: 1.344 kB / 0.5341 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.4719, allocations: 38.56 kB / 0.5342 GB, free: 10.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/0.4719, allocations: 1.25 kB / 0.5342 GB, free: 10.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004655/0.4724, allocations: 129.2 kB / 0.5343 GB, free: 10.2 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.498e-05/0.4724, allocations: 52.25 kB / 0.5343 GB, free: 10.13 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.4726, allocations: 130.7 kB / 0.5345 GB, free: 10.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.4726, allocations: 26.52 kB / 0.5345 GB, free: 9.984 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.4728, allocations: 101 kB / 0.5346 GB, free: 9.883 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/0.4728, allocations: 35.02 kB / 0.5346 GB, free: 9.852 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.697e-05/0.4728, allocations: 19.03 kB / 0.5346 GB, free: 9.832 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.473, allocations: 321.7 kB / 0.5349 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.4731, allocations: 31.28 kB / 0.535 GB, free: 9.496 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/0.4733, allocations: 39.22 kB / 0.535 GB, free: 9.469 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002253/0.4735, allocations: 74.25 kB / 0.5351 GB, free: 9.422 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.4735, allocations: 5.062 kB / 0.5351 GB, free: 9.418 MB / 398.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002762/0.4738, allocations: 106.3 kB / 0.5352 GB, free: 9.352 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.4738, allocations: 9.453 kB / 0.5352 GB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.4738, allocations: 0 / 0.5352 GB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.4738, allocations: 1.312 kB / 0.5352 GB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.474, allocations: 26.86 kB / 0.5352 GB, free: 9.336 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.474, allocations: 1.281 kB / 0.5352 GB, free: 9.336 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.621e-05/0.4741, allocations: 13.28 kB / 0.5352 GB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.4741, allocations: 9.953 kB / 0.5352 GB, free: 9.32 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.0001138/0.4742, allocations: 125.4 kB / 0.5354 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/0.4742, allocations: 8.766 kB / 0.5354 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003422/0.4746, allocations: 117.8 kB / 0.5355 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.4746, allocations: 1.094 kB / 0.5355 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.4746, allocations: 0 / 0.5355 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.4746, allocations: 0 / 0.5355 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002655/0.4749, allocations: 206.2 kB / 0.5357 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4749, allocations: 0 / 0.5357 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.63e-05/0.475, allocations: 17.48 kB / 0.5357 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.475, allocations: 0.9688 kB / 0.5357 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.475, allocations: 5.062 kB / 0.5357 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.475, allocations: 0 / 0.5357 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.475, allocations: 5.094 kB / 0.5357 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003638/0.4754, allocations: 210.1 kB / 0.5359 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.389e-05/0.4755, allocations: 83.5 kB / 0.536 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.4755, allocations: 1.125 kB / 0.536 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.756e-05/0.4756, allocations: 7.672 kB / 0.536 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.4756, allocations: 6.625 kB / 0.536 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.4757, allocations: 6.406 kB / 0.536 GB, free: 8.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.675e-05/0.4758, allocations: 104.1 kB / 0.5361 GB, free: 8.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4758, allocations: 0 / 0.5361 GB, free: 8.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002279/0.476, allocations: 14.06 kB / 0.5361 GB, free: 8.477 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.0007167/0.4767, allocations: 0.7285 MB / 0.5368 GB, free: 7.777 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002875/0.477, allocations: 73.17 kB / 0.5369 GB, free: 7.746 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.477, allocations: 0 / 0.5369 GB, free: 7.746 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.4771, allocations: 35.3 kB / 0.5369 GB, free: 7.734 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.4774, allocations: 13.55 kB / 0.537 GB, free: 7.727 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/0.4795, allocations: 1.502 MB / 0.5384 GB, free: 6.363 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.4799, allocations: 0.6974 MB / 0.5391 GB, free: 5.656 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.939e-05/0.48, allocations: 8.812 kB / 0.5391 GB, free: 5.652 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.913e-05/0.48, allocations: 28.3 kB / 0.5391 GB, free: 5.629 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.48, allocations: 0 / 0.5391 GB, free: 5.629 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02655/0.5066, allocations: 1.979 MB / 0.5411 GB, free: 4.562 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.088/8.595, allocations: 12.17 kB / 0.5411 GB, free: 4.555 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Exponentiation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Exponentiation.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Exponentiation.pipe 2>&1)