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.001294/0.001294, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001417/0.001417, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 227.4 MB / 246.8 MB, free: 10.54 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.2257/0.2257, allocations: 46.12 MB / 344.2 MB, free: 11.55 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.002289/0.00229, allocations: 80.47 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1081, allocations: 62.45 MB / 480.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.002895/0.1111, allocations: 1.691 MB / 481.9 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002333/0.1113, allocations: 75.69 kB / 482 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.473e-05/0.1114, allocations: 4 kB / 482 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.681e-05/0.1115, allocations: 7.875 kB / 482 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.019e-05/0.1115, allocations: 11.88 kB / 482 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001297/0.1117, allocations: 31.95 kB / 482 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.1118, allocations: 79.78 kB / 482.1 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.1119, allocations: 41.39 kB / 482.1 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.741e-05/0.112, allocations: 35.84 kB / 482.2 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.038e-05/0.1121, allocations: 43.77 kB / 482.2 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.1121, allocations: 4 kB / 482.2 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.631e-05/0.1121, allocations: 8 kB / 482.2 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.359e-05/0.1121, allocations: 15.94 kB / 482.2 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.702e-05/0.1122, allocations: 39.73 kB / 482.3 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.1123, allocations: 79.92 kB / 482.4 MB, free: 2.953 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.1123, allocations: 0 / 482.4 MB, free: 2.953 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.1123, allocations: 0 / 482.4 MB, free: 2.953 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.1123, allocations: 3.938 kB / 482.4 MB, free: 2.949 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.0005129/0.1129, allocations: 395.3 kB / 482.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.1129, allocations: 8.031 kB / 482.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.652e-05/0.113, allocations: 46.73 kB / 482.8 MB, free: 2.449 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.906e-05/0.113, allocations: 8.844 kB / 482.8 MB, free: 2.441 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.1132, allocations: 196.2 kB / 483 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.1132, allocations: 8.562 kB / 483 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.1132, allocations: 8.375 kB / 483 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002949/0.1135, allocations: 126.4 kB / 483.1 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.1136, allocations: 0 / 483.1 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.1136, allocations: 4 kB / 483.1 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.1136, allocations: 4 kB / 483.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002438/0.1138, allocations: 67.94 kB / 483.2 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000636/0.1145, allocations: 460.6 kB / 483.7 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.1147, allocations: 78.41 kB / 483.7 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.1149, allocations: 40.88 kB / 483.8 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.1149, allocations: 0 / 483.8 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.1149, allocations: 34.5 kB / 483.8 MB, free: 1.312 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.1149, allocations: 0 / 483.8 MB, free: 1.312 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004423/0.1154, allocations: 133.5 kB / 483.9 MB, free: 1.176 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.1154, allocations: 55.41 kB / 484 MB, free: 1.109 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.1156, allocations: 137.1 kB / 484.1 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.1156, allocations: 25.7 kB / 484.2 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.562e-05/0.1157, allocations: 108.1 kB / 484.3 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.694e-05/0.1157, allocations: 27.56 kB / 484.3 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.222e-05/0.1157, allocations: 21.7 kB / 484.3 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1159, allocations: 322.8 kB / 484.6 MB, free: 456 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.116, allocations: 27.98 kB / 484.7 MB, free: 428 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.1161, allocations: 41.69 kB / 484.7 MB, free: 380 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002255/0.1164, allocations: 81.91 kB / 484.8 MB, free: 292 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.1164, allocations: 7.875 kB / 484.8 MB, free: 284 kB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002738/0.1166, allocations: 109.6 kB / 484.9 MB, free: 168 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.1167, allocations: 4 kB / 484.9 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.1167, allocations: 0 / 484.9 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.1167, allocations: 3.984 kB / 484.9 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.1168, allocations: 23.92 kB / 484.9 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.1168, allocations: 0 / 484.9 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.786e-05/0.1169, allocations: 11.98 kB / 484.9 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.1169, allocations: 4 kB / 484.9 MB, free: 120 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 0.0001079/0.117, allocations: 117.9 kB / 485.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.3e-05/0.1171, allocations: 11.94 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003084/0.1174, allocations: 118.2 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.1174, allocations: 0 / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1174, allocations: 3.984 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1174, allocations: 4 kB / 485.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.1176, allocations: 197.5 kB / 485.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1177, allocations: 0 / 485.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.1178, allocations: 15.98 kB / 485.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.1178, allocations: 7.984 kB / 485.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.1178, allocations: 0 / 485.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.1178, allocations: 4 kB / 485.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1178, allocations: 0 / 485.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003077/0.1181, allocations: 203.3 kB / 485.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.161e-05/0.1182, allocations: 85.2 kB / 485.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.1182, allocations: 7.984 kB / 485.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.1183, allocations: 7.938 kB / 485.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.356e-05/0.1184, allocations: 11.98 kB / 485.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.1184, allocations: 0 / 485.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.671e-05/0.1184, allocations: 99.27 kB / 485.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1185, allocations: 0 / 485.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002389/0.1187, allocations: 15.91 kB / 485.8 MB, free: 15.12 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.0006594/0.1194, allocations: 0.7318 MB / 486.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000272/0.1196, allocations: 71.95 kB / 486.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1197, allocations: 0 / 486.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.1198, allocations: 43.95 kB / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.1201, allocations: 10.66 kB / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001863/0.1219, allocations: 1.501 MB / 488.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.1223, allocations: 0.7002 MB / 488.9 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.163e-05/0.1223, allocations: 8.438 kB / 488.9 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.822e-05/0.1224, allocations: 31.42 kB / 488.9 MB, free: 11.89 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1224, allocations: 0 / 488.9 MB, free: 11.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02264/0.1451, allocations: 1.933 MB / 490.9 MB, free: 10.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.714/7.859, allocations: 17.02 kB / 490.9 MB, free: 10 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Exponentiation_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Exponentiation.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Exponentiation.pipe 2>&1)