Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.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.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001368/0.001368, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001479/0.001479, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 227.5 MB / 246.8 MB, free: 10.57 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.2265/0.2265, allocations: 46.1 MB / 344.2 MB, free: 11.58 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.002238/0.002238, allocations: 81.27 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1174, allocations: 62.46 MB / 480.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar): time 0.003935/0.1214, allocations: 2.126 MB / 482.4 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002004/0.1234, allocations: 1.285 MB / 483.6 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.1236, allocations: 4 kB / 483.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00029/0.1239, allocations: 63.59 kB / 483.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002297/0.1241, allocations: 95.38 kB / 483.8 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005687/0.1247, allocations: 203.2 kB / 484 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004924/0.1252, allocations: 434 kB / 484.4 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.205e-05/0.1253, allocations: 44.72 kB / 484.5 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002543/0.1256, allocations: 163.1 kB / 484.6 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002368/0.1258, allocations: 179.2 kB / 484.8 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.727e-05/0.1259, allocations: 12 kB / 484.8 MB, free: 0.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004676/0.1263, allocations: 271.5 kB / 485.1 MB, free: 240 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.1265, allocations: 95.53 kB / 485.2 MB, free: 144 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.1267, allocations: 170.9 kB / 485.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006251/0.1273, allocations: 0.51 MB / 485.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1273, allocations: 3.984 kB / 485.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1273, allocations: 0 / 485.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1273, allocations: 4 kB / 485.9 MB, free: 15.45 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001212/0.1285, allocations: 0.7058 MB / 486.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.1286, allocations: 8.031 kB / 486.6 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001003/0.1287, allocations: 82.7 kB / 486.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004031/0.1291, allocations: 80.42 kB / 486.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003586/0.1295, allocations: 291.3 kB / 487 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.085e-05/0.1295, allocations: 33.31 kB / 487.1 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.199e-05/0.1296, allocations: 40.31 kB / 487.1 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009486/0.1305, allocations: 0.5779 MB / 487.7 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.1306, allocations: 4 kB / 487.7 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.733e-05/0.1306, allocations: 16 kB / 487.7 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.522e-05/0.1306, allocations: 24.98 kB / 487.7 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008611/0.1315, allocations: 423.6 kB / 488.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001912/0.1334, allocations: 1.383 MB / 489.5 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005848/0.134, allocations: 271.6 kB / 489.8 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003549/0.1344, allocations: 142.5 kB / 489.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.247e-05/0.1345, allocations: 7.984 kB / 489.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.1345, allocations: 34.56 kB / 490 MB, free: 11.13 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.864e-06/0.1345, allocations: 0 / 490 MB, free: 11.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001296/0.1358, allocations: 471.7 kB / 490.4 MB, free: 10.67 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.746e-05/0.1359, allocations: 102.8 kB / 490.5 MB, free: 10.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006342/0.1365, allocations: 0.5018 MB / 491 MB, free: 10.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.1366, allocations: 25.7 kB / 491 MB, free: 10 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.1368, allocations: 204.2 kB / 491.2 MB, free: 9.801 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.431e-05/0.1369, allocations: 59.19 kB / 491.3 MB, free: 9.742 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.137, allocations: 49.7 kB / 491.3 MB, free: 9.688 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001978/0.1372, allocations: 354.8 kB / 491.7 MB, free: 9.332 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003551/0.1375, allocations: 127.9 kB / 491.8 MB, free: 9.207 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003752/0.1379, allocations: 176.3 kB / 492 MB, free: 9.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007355/0.1387, allocations: 308.8 kB / 492.3 MB, free: 8.699 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1387, allocations: 0 / 492.3 MB, free: 8.699 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000898/0.1396, allocations: 376.8 kB / 492.7 MB, free: 8.324 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.1396, allocations: 15.92 kB / 492.7 MB, free: 8.309 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.859e-05/0.1397, allocations: 32.16 kB / 492.7 MB, free: 8.277 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.1397, allocations: 4 kB / 492.7 MB, free: 8.273 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.14, allocations: 31.95 kB / 492.7 MB, free: 8.242 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.14, allocations: 4 kB / 492.7 MB, free: 8.238 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002682/0.1402, allocations: 55.42 kB / 492.8 MB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.96e-05/0.1403, allocations: 11.98 kB / 492.8 MB, free: 8.172 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0002299/0.1405, allocations: 185.7 kB / 493 MB, free: 7.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.1406, allocations: 43.47 kB / 493 MB, free: 7.938 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008849/0.1415, allocations: 383.4 kB / 493.4 MB, free: 7.555 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.1416, allocations: 4 kB / 493.4 MB, free: 7.551 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.1416, allocations: 4 kB / 493.4 MB, free: 7.547 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/0.1416, allocations: 3.984 kB / 493.4 MB, free: 7.543 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006069/0.1422, allocations: 365.2 kB / 493.8 MB, free: 7.137 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-05/0.1423, allocations: 39.98 kB / 493.8 MB, free: 7.098 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/0.1424, allocations: 27.91 kB / 493.8 MB, free: 7.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.1424, allocations: 0 / 493.8 MB, free: 7.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.386e-05/0.1425, allocations: 8 kB / 493.9 MB, free: 7.062 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.1425, allocations: 0 / 493.9 MB, free: 7.062 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1425, allocations: 0 / 493.9 MB, free: 7.062 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009201/0.1434, allocations: 0.5832 MB / 494.4 MB, free: 6.461 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.1435, allocations: 120.6 kB / 494.6 MB, free: 6.324 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.654e-05/0.1436, allocations: 0 / 494.6 MB, free: 6.324 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002854/0.1439, allocations: 27.95 kB / 494.6 MB, free: 6.297 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.837e-05/0.144, allocations: 23.98 kB / 494.6 MB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-05/0.144, allocations: 8 kB / 494.6 MB, free: 6.266 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005248/0.1445, allocations: 379 kB / 495 MB, free: 5.902 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1446, allocations: 0 / 495 MB, free: 5.902 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005492/0.1451, allocations: 119.9 kB / 495.1 MB, free: 5.785 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001402/0.1465, allocations: 1.177 MB / 496.3 MB, free: 4.582 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009694/0.1475, allocations: 0.5265 MB / 496.8 MB, free: 4 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1475, allocations: 4.062 kB / 496.8 MB, free: 3.996 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005152/0.148, allocations: 379.2 kB / 497.2 MB, free: 3.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006935/0.1487, allocations: 101.5 kB / 497.3 MB, free: 3.469 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007021/0.1558, allocations: 4.815 MB / 0.4903 GB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005346/0.1563, allocations: 0.8536 MB / 0.4912 GB, free: 13.65 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002111/0.1566, allocations: 63.25 kB / 0.4912 GB, free: 13.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/0.1567, allocations: 107.3 kB / 0.4913 GB, free: 13.48 MB / 382.1 MB Notification: Performance of SimCode: time 7.32e-07/0.1567, allocations: 0 / 0.4913 GB, free: 13.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03604/0.1928, allocations: 11.38 MB / 0.5024 GB, free: 2.309 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.108/8.301, allocations: 6.719 kB / 0.5024 GB, free: 2.305 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe 2>&1)