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.001248/0.001248, 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.001289/0.001289, 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.452/1.452, allocations: 227.4 MB / 246.8 MB, free: 10.53 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.2304/0.2304, allocations: 46.12 MB / 344.2 MB, free: 11.57 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.002195/0.002195, allocations: 84.39 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1251, allocations: 62.45 MB / 480.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar): time 0.00354/0.1287, allocations: 2.129 MB / 482.4 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001979/0.1307, allocations: 1.281 MB / 483.6 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.1308, allocations: 8 kB / 483.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002779/0.1311, allocations: 67.59 kB / 483.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002293/0.1314, allocations: 99.34 kB / 483.8 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005568/0.1319, allocations: 195.3 kB / 484 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005042/0.1325, allocations: 437.9 kB / 484.4 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.319e-05/0.1326, allocations: 48.72 kB / 484.5 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002464/0.1328, allocations: 159.1 kB / 484.6 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002431/0.1331, allocations: 179.2 kB / 484.8 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.091e-05/0.1331, allocations: 12 kB / 484.8 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005042/0.1336, allocations: 279.5 kB / 485.1 MB, free: 224 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.1338, allocations: 83.59 kB / 485.2 MB, free: 140 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002004/0.134, allocations: 174.9 kB / 485.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006786/0.1346, allocations: 0.5061 MB / 485.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1347, allocations: 0 / 485.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1347, allocations: 0 / 485.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.1347, allocations: 0 / 485.8 MB, free: 15.46 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.001195/0.1359, allocations: 0.7136 MB / 486.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.1359, allocations: 8.031 kB / 486.6 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.229e-05/0.136, allocations: 86.7 kB / 486.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003789/0.1364, allocations: 80.42 kB / 486.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003571/0.1368, allocations: 295.3 kB / 487 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/0.1368, allocations: 29.38 kB / 487 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.388e-05/0.1369, allocations: 36.38 kB / 487.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009789/0.1379, allocations: 0.5817 MB / 487.7 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.1379, allocations: 0 / 487.7 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.803e-05/0.1379, allocations: 20 kB / 487.7 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.234e-05/0.138, allocations: 17 kB / 487.7 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008683/0.1388, allocations: 431.5 kB / 488.1 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001873/0.1407, allocations: 1.375 MB / 489.5 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005733/0.1413, allocations: 279.6 kB / 489.8 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003363/0.1417, allocations: 142.5 kB / 489.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.45e-05/0.1417, allocations: 4 kB / 489.9 MB, free: 11.17 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.264e-05/0.1418, allocations: 42.56 kB / 490 MB, free: 11.12 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.754e-06/0.1418, allocations: 0 / 490 MB, free: 11.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001273/0.1431, allocations: 457 kB / 490.4 MB, free: 10.67 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.297e-05/0.1431, allocations: 106.8 kB / 490.5 MB, free: 10.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005864/0.1437, allocations: 0.5057 MB / 491 MB, free: 10.03 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.612e-05/0.1438, allocations: 29.7 kB / 491 MB, free: 9.992 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.144, allocations: 204.2 kB / 491.2 MB, free: 9.789 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.728e-05/0.144, allocations: 51.2 kB / 491.3 MB, free: 9.738 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.1441, allocations: 53.69 kB / 491.3 MB, free: 9.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.1443, allocations: 354.8 kB / 491.7 MB, free: 9.324 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003347/0.1447, allocations: 131.9 kB / 491.8 MB, free: 9.195 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003615/0.145, allocations: 171.9 kB / 492 MB, free: 9.012 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007165/0.1458, allocations: 292.8 kB / 492.3 MB, free: 8.707 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.1458, allocations: 11.94 kB / 492.3 MB, free: 8.695 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000907/0.1467, allocations: 387.6 kB / 492.7 MB, free: 8.312 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.1467, allocations: 10.59 kB / 492.7 MB, free: 8.305 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.146e-05/0.1468, allocations: 27.98 kB / 492.7 MB, free: 8.277 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.1468, allocations: 8.156 kB / 492.7 MB, free: 8.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/0.1471, allocations: 31.97 kB / 492.7 MB, free: 8.238 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.1471, allocations: 0 / 492.7 MB, free: 8.238 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00026/0.1473, allocations: 63.41 kB / 492.8 MB, free: 8.176 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.284e-05/0.1474, allocations: 16 kB / 492.8 MB, free: 8.16 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.000232/0.1476, allocations: 181.7 kB / 493 MB, free: 7.973 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.1477, allocations: 39.47 kB / 493 MB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007926/0.1485, allocations: 388.6 kB / 493.4 MB, free: 7.543 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.1486, allocations: 4 kB / 493.4 MB, free: 7.539 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.1486, allocations: 0 / 493.4 MB, free: 7.539 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.1486, allocations: 0 / 493.4 MB, free: 7.539 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006103/0.1492, allocations: 365.3 kB / 493.8 MB, free: 7.133 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.859e-05/0.1493, allocations: 31.98 kB / 493.8 MB, free: 7.102 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.1494, allocations: 35.84 kB / 493.8 MB, free: 7.066 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1494, allocations: 0 / 493.8 MB, free: 7.066 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/0.1495, allocations: 12 kB / 493.9 MB, free: 7.055 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.1495, allocations: 0 / 493.9 MB, free: 7.055 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.1495, allocations: 4 kB / 493.9 MB, free: 7.051 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009643/0.1505, allocations: 0.5715 MB / 494.4 MB, free: 6.461 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/0.1506, allocations: 120.6 kB / 494.5 MB, free: 6.324 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.354e-05/0.1507, allocations: 11.98 kB / 494.6 MB, free: 6.312 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000345/0.1511, allocations: 11.98 kB / 494.6 MB, free: 6.301 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.1512, allocations: 23.92 kB / 494.6 MB, free: 6.277 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.923e-05/0.1512, allocations: 23.92 kB / 494.6 MB, free: 6.254 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004631/0.1517, allocations: 375 kB / 495 MB, free: 5.895 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1517, allocations: 0 / 495 MB, free: 5.895 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005445/0.1522, allocations: 111.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.001511/0.1537, allocations: 1.179 MB / 496.3 MB, free: 4.578 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001189/0.155, allocations: 0.5266 MB / 496.8 MB, free: 3.996 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/0.155, allocations: 320 / 496.8 MB, free: 3.996 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000612/0.1556, allocations: 391.1 kB / 497.2 MB, free: 3.559 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007806/0.1564, allocations: 97.5 kB / 497.3 MB, free: 3.461 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007431/0.1638, allocations: 4.822 MB / 0.4903 GB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005459/0.1644, allocations: 0.8419 MB / 0.4911 GB, free: 13.65 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000219/0.1646, allocations: 71.17 kB / 0.4912 GB, free: 13.58 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/0.1648, allocations: 107.4 kB / 0.4913 GB, free: 13.47 MB / 382.1 MB Notification: Performance of SimCode: time 8.31e-07/0.1648, allocations: 0 / 0.4913 GB, free: 13.47 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03584/0.2007, allocations: 11.38 MB / 0.5024 GB, free: 2.297 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.114/8.314, allocations: 4.375 kB / 0.5024 GB, free: 2.293 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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)