Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.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.Fluid.TestComponents.Machines.TestLinearPower,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00181/0.00181, allocations: 103.7 kB / 17.63 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002174/0.002175, allocations: 212.6 kB / 18.58 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 227.4 MB / 246.8 MB, free: 10.6 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.2209/0.2209, allocations: 46.12 MB / 344.2 MB, free: 11.61 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.002229/0.002229, allocations: 79.94 kB / 417.8 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1196, allocations: 62.44 MB / 480.2 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002433/0.1221, allocations: 1.209 MB / 481.4 MB, free: 3.953 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006414/0.1228, allocations: 344 kB / 481.8 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.19e-05/0.1228, allocations: 0 / 481.8 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.258e-05/0.1228, allocations: 0 / 481.8 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.788e-05/0.1229, allocations: 0 / 481.8 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000387/0.1232, allocations: 59.81 kB / 481.8 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.874e-05/0.1233, allocations: 0 / 481.8 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.032e-05/0.1233, allocations: 4 kB / 481.8 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.753e-05/0.1234, allocations: 3.984 kB / 481.8 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002105/0.1236, allocations: 39.97 kB / 481.9 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.903e-06/0.1236, allocations: 0 / 481.9 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.469e-06/0.1236, allocations: 0 / 481.9 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.143e-05/0.1236, allocations: 3.984 kB / 481.9 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.396e-05/0.1237, allocations: 3.938 kB / 481.9 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 3.804e-05/0.1237, allocations: 0 / 481.9 MB, free: 3.504 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1237, allocations: 4 kB / 481.9 MB, free: 3.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1237, allocations: 0 / 481.9 MB, free: 3.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.1237, allocations: 0 / 481.9 MB, free: 3.5 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002827/0.124, allocations: 315.6 kB / 482.2 MB, free: 3.141 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.1241, allocations: 8.031 kB / 482.2 MB, free: 3.133 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.597e-05/0.1241, allocations: 34.73 kB / 482.2 MB, free: 3.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.996e-05/0.1241, allocations: 4.938 kB / 482.2 MB, free: 3.086 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.1242, allocations: 164.3 kB / 482.4 MB, free: 2.887 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.756e-06/0.1242, allocations: 4.375 kB / 482.4 MB, free: 2.883 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.313e-06/0.1243, allocations: 384 / 482.4 MB, free: 2.883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.421e-05/0.1243, allocations: 26.27 kB / 482.4 MB, free: 2.852 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.1244, allocations: 3.938 kB / 482.4 MB, free: 2.848 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.1244, allocations: 4 kB / 482.4 MB, free: 2.844 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1244, allocations: 4 kB / 482.4 MB, free: 2.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.498e-05/0.1244, allocations: 0 / 482.4 MB, free: 2.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003347/0.1247, allocations: 379.5 kB / 482.8 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.172e-05/0.1248, allocations: 173 kB / 483 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.297e-05/0.1249, allocations: 84.14 kB / 483.1 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.094e-05/0.1249, allocations: 79.28 kB / 483.1 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.151e-05/0.125, allocations: 105.8 kB / 483.2 MB, free: 1.961 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.125, allocations: 0 / 483.2 MB, free: 1.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.629e-05/0.1251, allocations: 29.7 kB / 483.3 MB, free: 1.926 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.663e-05/0.1251, allocations: 134.6 kB / 483.4 MB, free: 1.781 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.676e-05/0.1252, allocations: 94.14 kB / 483.5 MB, free: 1.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.1253, allocations: 25.7 kB / 483.5 MB, free: 1.648 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.254e-05/0.1253, allocations: 84.08 kB / 483.6 MB, free: 1.562 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.816e-06/0.1253, allocations: 7.938 kB / 483.6 MB, free: 1.555 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.882e-05/0.1254, allocations: 17.62 kB / 483.6 MB, free: 1.531 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.1255, allocations: 310.8 kB / 483.9 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.967e-06/0.1255, allocations: 0 / 483.9 MB, free: 1.219 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.254e-06/0.1255, allocations: 7.938 kB / 483.9 MB, free: 1.211 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.943e-05/0.1255, allocations: 9.047 kB / 483.9 MB, free: 1.199 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1256, allocations: 3.938 kB / 483.9 MB, free: 1.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.741e-05/0.1256, allocations: 37.62 kB / 484 MB, free: 1.152 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.1257, allocations: 8 kB / 484 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1257, allocations: 0 / 484 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.1257, allocations: 0 / 484 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.04e-05/0.1257, allocations: 0 / 484 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.1258, allocations: 0 / 484 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.567e-05/0.1258, allocations: 8 kB / 484 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-06/0.1258, allocations: 0 / 484 MB, free: 1.137 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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.742e-05/0.1259, allocations: 189.1 kB / 484.2 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.479e-05/0.126, allocations: 105 kB / 484.3 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.456e-05/0.126, allocations: 112.1 kB / 484.4 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.12e-05/0.1261, allocations: 180.3 kB / 484.6 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.216e-05/0.1262, allocations: 176.3 kB / 484.7 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.365e-05/0.1263, allocations: 188.2 kB / 484.9 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002564/0.1265, allocations: 405.2 kB / 485.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-05/0.1266, allocations: 104.9 kB / 485.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.362e-05/0.1266, allocations: 101 kB / 485.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.96e-05/0.1267, allocations: 176.3 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-05/0.1268, allocations: 192.2 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.182e-05/0.1268, allocations: 180.3 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.177e-05/0.1269, allocations: 184.4 kB / 486.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.1271, allocations: 311.7 kB / 486.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.053e-05/0.1272, allocations: 182.1 kB / 486.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.038e-05/0.1272, allocations: 184.3 kB / 486.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.28e-05/0.1273, allocations: 104.9 kB / 487 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.613e-05/0.1274, allocations: 176.3 kB / 487.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.607e-05/0.1275, allocations: 112.9 kB / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.184e-05/0.1275, allocations: 83.27 kB / 487.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1275, allocations: 0 / 487.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002317/0.1278, allocations: 4.094 kB / 487.4 MB, free: 13.54 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 (0): * Single equations (assignments): 0 * 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.0004065/0.1282, allocations: 0.8009 MB / 488.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 5.319e-05/0.1282, allocations: 4 kB / 488.2 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.1282, allocations: 0 / 488.2 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.1283, allocations: 15.88 kB / 488.2 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.1286, allocations: 461.7 kB / 488.6 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003355/0.129, allocations: 186.2 kB / 488.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.1293, allocations: 0.669 MB / 489.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.342e-05/0.1293, allocations: 4 kB / 489.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.792e-05/0.1293, allocations: 15.44 kB / 489.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1293, allocations: 0 / 489.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02092/0.1502, allocations: 0.8823 MB / 490.4 MB, free: 10.53 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.779/7.93, allocations: 12.19 kB / 490.4 MB, free: 10.52 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower_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_Fluid_TestComponents_Machines_TestLinearPower.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe 2>&1)