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.001285/0.001285, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001304/0.001305, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 227.4 MB / 246.8 MB, free: 10.51 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.2394/0.2394, allocations: 46.11 MB / 344.2 MB, free: 11.56 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.00342/0.00342, allocations: 77.33 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.132, allocations: 62.45 MB / 480.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.003118/0.1352, allocations: 1.694 MB / 481.9 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002633/0.1355, allocations: 75.73 kB / 482 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.752e-05/0.1356, allocations: 7.938 kB / 482 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.795e-05/0.1356, allocations: 7.875 kB / 482 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.692e-05/0.1357, allocations: 7.875 kB / 482 MB, free: 3.355 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000142/0.1358, allocations: 27.95 kB / 482 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.136, allocations: 83.78 kB / 482.1 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.1361, allocations: 41.39 kB / 482.1 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.453e-05/0.1362, allocations: 31.86 kB / 482.2 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.794e-05/0.1363, allocations: 43.75 kB / 482.2 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.1363, allocations: 12 kB / 482.2 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.685e-05/0.1363, allocations: 8 kB / 482.2 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.339e-05/0.1364, allocations: 11.94 kB / 482.2 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.028e-05/0.1364, allocations: 43.73 kB / 482.3 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001183/0.1365, allocations: 75.98 kB / 482.4 MB, free: 2.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1365, allocations: 3.938 kB / 482.4 MB, free: 2.977 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1365, allocations: 0 / 482.4 MB, free: 2.977 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.1366, allocations: 0 / 482.4 MB, free: 2.977 MB / 350.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.0005355/0.1371, allocations: 391.3 kB / 482.7 MB, free: 2.543 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.1371, allocations: 16.03 kB / 482.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.811e-05/0.1372, allocations: 42.73 kB / 482.8 MB, free: 2.477 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.421e-05/0.1372, allocations: 12.84 kB / 482.8 MB, free: 2.465 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.1375, allocations: 200.1 kB / 483 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.1375, allocations: 8.562 kB / 483 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.1375, allocations: 4.375 kB / 483 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002663/0.1378, allocations: 119.5 kB / 483.1 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.1378, allocations: 3.938 kB / 483.1 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.1378, allocations: 8 kB / 483.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.1378, allocations: 7.984 kB / 483.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002449/0.1381, allocations: 70.17 kB / 483.2 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006127/0.1387, allocations: 452.6 kB / 483.7 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.1389, allocations: 82.42 kB / 483.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.139, allocations: 36.86 kB / 483.8 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.1391, allocations: 4 kB / 483.8 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.1391, allocations: 34.56 kB / 483.8 MB, free: 1.332 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.1391, allocations: 0 / 483.8 MB, free: 1.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004318/0.1395, allocations: 129.6 kB / 484 MB, free: 1.199 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.1396, allocations: 51.41 kB / 484 MB, free: 1.137 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.1397, allocations: 134 kB / 484.1 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.1398, allocations: 25.7 kB / 484.2 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.527e-05/0.1398, allocations: 116.1 kB / 484.3 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.21e-05/0.1399, allocations: 23.56 kB / 484.3 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.717e-05/0.1399, allocations: 29.64 kB / 484.3 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1401, allocations: 314.8 kB / 484.6 MB, free: 480 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.1402, allocations: 27.97 kB / 484.7 MB, free: 452 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.1403, allocations: 45.69 kB / 484.7 MB, free: 400 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002062/0.1405, allocations: 73.69 kB / 484.8 MB, free: 320 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.1405, allocations: 3.938 kB / 484.8 MB, free: 316 kB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002652/0.1408, allocations: 109.5 kB / 484.9 MB, free: 200 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.1408, allocations: 8 kB / 484.9 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1408, allocations: 3.938 kB / 484.9 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1408, allocations: 4.031 kB / 484.9 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.141, allocations: 19.98 kB / 484.9 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.141, allocations: 400 / 484.9 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.817e-05/0.1411, allocations: 11.92 kB / 484.9 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.1411, allocations: 4 kB / 484.9 MB, free: 148 kB / 350.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.014e-05/0.1412, allocations: 121.8 kB / 485.1 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.051e-05/0.1412, allocations: 7.906 kB / 485.1 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003316/0.1416, allocations: 118.3 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.1416, allocations: 0 / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1416, allocations: 0 / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.1416, allocations: 3.984 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/0.1418, allocations: 197.5 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1418, allocations: 0 / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.697e-05/0.1419, allocations: 23.92 kB / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.1419, allocations: 0 / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.1419, allocations: 4 kB / 485.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.142, allocations: 7.984 kB / 485.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.142, allocations: 0 / 485.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003061/0.1423, allocations: 203.3 kB / 485.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.927e-05/0.1423, allocations: 85.02 kB / 485.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.1424, allocations: 0 / 485.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.877e-05/0.1424, allocations: 7.984 kB / 485.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/0.1425, allocations: 11.98 kB / 485.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.1425, allocations: 4.188 kB / 485.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.047e-05/0.1426, allocations: 102.3 kB / 485.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1426, allocations: 3.938 kB / 485.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002331/0.1428, allocations: 19.91 kB / 485.8 MB, free: 15.14 MB / 366.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.0006055/0.1434, allocations: 0.724 MB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002839/0.1437, allocations: 75.89 kB / 486.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1438, allocations: 4 kB / 486.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.1439, allocations: 39.89 kB / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.1442, allocations: 8 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.1461, allocations: 1.497 MB / 488.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.1464, allocations: 0.7002 MB / 488.9 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.393e-05/0.1465, allocations: 12.42 kB / 488.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.119e-05/0.1465, allocations: 27.42 kB / 488.9 MB, free: 11.92 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1466, allocations: 0 / 488.9 MB, free: 11.92 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02657/0.1731, allocations: 1.937 MB / 490.9 MB, free: 10.04 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.964/8.137, allocations: 12.95 kB / 490.9 MB, free: 10.03 MB / 366.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)