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_overall.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_overall,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001272/0.001272, 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.001419/0.001419, 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.533/1.533, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.232/0.232, 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.002218/0.002218, allocations: 78.81 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.125, allocations: 62.45 MB / 480.2 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall): time 0.003985/0.129, allocations: 2.136 MB / 482.4 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003416/0.1325, allocations: 2.145 MB / 484.5 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.1326, allocations: 0 / 484.5 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003644/0.133, allocations: 71.58 kB / 484.6 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002935/0.1334, allocations: 115.2 kB / 484.7 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.1345, allocations: 426.3 kB / 485.1 MB, free: 204 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005515/0.135, allocations: 453.9 kB / 485.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.926e-05/0.1351, allocations: 48.72 kB / 485.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002901/0.1354, allocations: 171.1 kB / 485.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002796/0.1357, allocations: 187 kB / 486 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.479e-05/0.1358, allocations: 16 kB / 486 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001035/0.1368, allocations: 0.6162 MB / 486.6 MB, free: 14.72 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000183/0.137, allocations: 111.5 kB / 486.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002031/0.1372, allocations: 182.8 kB / 486.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000962/0.1382, allocations: 0.7128 MB / 487.6 MB, free: 13.72 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1382, allocations: 0 / 487.6 MB, free: 13.72 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.1382, allocations: 0 / 487.6 MB, free: 13.72 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.675e-06/0.1382, allocations: 0 / 487.6 MB, free: 13.72 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.001373/0.1396, allocations: 0.7642 MB / 488.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.1396, allocations: 8.031 kB / 488.4 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001038/0.1397, allocations: 82.7 kB / 488.4 MB, free: 12.81 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003883/0.1401, allocations: 84.27 kB / 488.5 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004099/0.1406, allocations: 324.3 kB / 488.8 MB, free: 12.37 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.056e-05/0.1406, allocations: 25.38 kB / 488.9 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.567e-05/0.1407, allocations: 40.38 kB / 488.9 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.1417, allocations: 0.5778 MB / 489.5 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.1417, allocations: 7.984 kB / 489.5 MB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.703e-05/0.1417, allocations: 16 kB / 489.5 MB, free: 11.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.514e-05/0.1418, allocations: 17 kB / 489.5 MB, free: 11.67 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008728/0.1427, allocations: 435.5 kB / 489.9 MB, free: 11.24 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001976/0.1446, allocations: 1.387 MB / 491.3 MB, free: 9.789 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005775/0.1452, allocations: 267.6 kB / 491.6 MB, free: 9.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003399/0.1456, allocations: 138.5 kB / 491.7 MB, free: 9.355 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.585e-05/0.1456, allocations: 7.984 kB / 491.7 MB, free: 9.348 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.1457, allocations: 38.5 kB / 491.8 MB, free: 9.301 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.693e-06/0.1457, allocations: 0 / 491.8 MB, free: 9.301 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001232/0.1469, allocations: 464.8 kB / 492.2 MB, free: 8.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.94e-05/0.147, allocations: 102.8 kB / 492.3 MB, free: 8.715 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006437/0.1477, allocations: 0.5448 MB / 492.9 MB, free: 8.164 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.1477, allocations: 25.7 kB / 492.9 MB, free: 8.133 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001844/0.1479, allocations: 228.3 kB / 493.1 MB, free: 7.906 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.746e-05/0.1479, allocations: 51.2 kB / 493.2 MB, free: 7.855 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.1481, allocations: 61.64 kB / 493.2 MB, free: 7.789 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.1483, allocations: 362.7 kB / 493.6 MB, free: 7.426 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003452/0.1486, allocations: 127.9 kB / 493.7 MB, free: 7.301 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003728/0.149, allocations: 174.7 kB / 493.9 MB, free: 7.117 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000707/0.1497, allocations: 303.9 kB / 494.2 MB, free: 6.805 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.1497, allocations: 4 kB / 494.2 MB, free: 6.801 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008622/0.1506, allocations: 376.8 kB / 494.6 MB, free: 6.426 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.1506, allocations: 7.938 kB / 494.6 MB, free: 6.418 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-05/0.1507, allocations: 31.98 kB / 494.6 MB, free: 6.387 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.1507, allocations: 0 / 494.6 MB, free: 6.387 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.1509, allocations: 39.91 kB / 494.6 MB, free: 6.348 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.1509, allocations: 0 / 494.6 MB, free: 6.348 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002814/0.1512, allocations: 63.56 kB / 494.7 MB, free: 6.285 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.864e-05/0.1513, allocations: 12 kB / 494.7 MB, free: 6.273 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.0002087/0.1515, allocations: 189.7 kB / 494.9 MB, free: 6.078 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.1516, allocations: 47.38 kB / 494.9 MB, free: 6.031 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007833/0.1524, allocations: 376.9 kB / 495.3 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.1524, allocations: 8 kB / 495.3 MB, free: 5.645 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.1524, allocations: 4 kB / 495.3 MB, free: 5.641 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.1524, allocations: 3.984 kB / 495.3 MB, free: 5.637 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005867/0.153, allocations: 373.2 kB / 495.7 MB, free: 5.223 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-05/0.1531, allocations: 28 kB / 495.7 MB, free: 5.195 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.1532, allocations: 27.91 kB / 495.7 MB, free: 5.168 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.1533, allocations: 3.938 kB / 495.7 MB, free: 5.164 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.675e-05/0.1533, allocations: 15.98 kB / 495.8 MB, free: 5.148 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1533, allocations: 0 / 495.8 MB, free: 5.148 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1533, allocations: 7.938 kB / 495.8 MB, free: 5.141 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009078/0.1542, allocations: 0.5715 MB / 496.3 MB, free: 4.551 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001998/0.1544, allocations: 160.5 kB / 496.5 MB, free: 4.375 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.432e-05/0.1545, allocations: 4 kB / 496.5 MB, free: 4.371 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003106/0.1548, allocations: 19.98 kB / 496.5 MB, free: 4.352 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.629e-05/0.1549, allocations: 23.97 kB / 496.5 MB, free: 4.328 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.451e-05/0.1549, allocations: 12 kB / 496.6 MB, free: 4.316 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004848/0.1554, allocations: 407 kB / 496.9 MB, free: 3.926 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1554, allocations: 0 / 496.9 MB, free: 3.926 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006109/0.1561, allocations: 155.8 kB / 497.1 MB, free: 3.773 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.001601/0.1577, allocations: 1.253 MB / 498.4 MB, free: 2.492 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009456/0.1586, allocations: 0.5302 MB / 498.9 MB, free: 1.906 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1586, allocations: 0 / 498.9 MB, free: 1.906 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005183/0.1592, allocations: 391.4 kB / 499.3 MB, free: 1.469 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006664/0.1598, allocations: 97.94 kB / 499.4 MB, free: 1.375 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007257/0.1671, allocations: 5.04 MB / 0.4926 GB, free: 12.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005368/0.1677, allocations: 0.8536 MB / 0.4934 GB, free: 11.33 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002021/0.1679, allocations: 71.23 kB / 0.4935 GB, free: 11.26 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/0.1681, allocations: 115.4 kB / 0.4936 GB, free: 11.15 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1681, allocations: 0 / 0.4936 GB, free: 11.15 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2264/0.3944, allocations: 13.1 MB / 0.5064 GB, free: 42.55 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.197/8.592, allocations: 7.188 kB / 0.5064 GB, free: 42.55 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe 2>&1)