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.Channel.kc_evenGapTurbulent_KC.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.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001303/0.001303, 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.001311/0.001311, 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.467/1.467, 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.2225/0.2225, allocations: 46.11 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.002302/0.002302, allocations: 82.44 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1338, allocations: 62.45 MB / 480.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.003319/0.1371, allocations: 1.794 MB / 482 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.1387, allocations: 0.8333 MB / 482.9 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.471e-05/0.1387, allocations: 0 / 482.9 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002548/0.139, allocations: 43.75 kB / 482.9 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002448/0.1393, allocations: 71.64 kB / 483 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002487/0.1395, allocations: 83.72 kB / 483.1 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001992/0.1397, allocations: 151.3 kB / 483.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.815e-05/0.1398, allocations: 17.09 kB / 483.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001717/0.14, allocations: 71.7 kB / 483.3 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.1401, allocations: 83.55 kB / 483.4 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.1402, allocations: 4 kB / 483.4 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000278/0.1404, allocations: 159.8 kB / 483.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.809e-05/0.1405, allocations: 35.89 kB / 483.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.845e-05/0.1406, allocations: 55.61 kB / 483.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003029/0.1409, allocations: 203.5 kB / 483.8 MB, free: 1.523 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1409, allocations: 0 / 483.8 MB, free: 1.523 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1409, allocations: 0 / 483.8 MB, free: 1.523 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1409, allocations: 4 kB / 483.8 MB, free: 1.52 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007069/0.1416, allocations: 453.1 kB / 484.3 MB, free: 1.031 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.1417, allocations: 8.031 kB / 484.3 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.921e-05/0.1418, allocations: 50.72 kB / 484.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.025e-05/0.1418, allocations: 16.75 kB / 484.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.142, allocations: 192.2 kB / 484.5 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.938e-05/0.1421, allocations: 8.375 kB / 484.5 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.1421, allocations: 15.94 kB / 484.6 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003469/0.1424, allocations: 173.5 kB / 484.7 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.1425, allocations: 0 / 484.7 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.1425, allocations: 7.938 kB / 484.7 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.358e-05/0.1425, allocations: 11.98 kB / 484.7 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003547/0.1429, allocations: 171.8 kB / 484.9 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008008/0.1437, allocations: 496 kB / 485.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004084/0.1441, allocations: 154.4 kB / 485.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.1443, allocations: 56.81 kB / 485.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.931e-05/0.1443, allocations: 3.984 kB / 485.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.1444, allocations: 34.56 kB / 485.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.253e-06/0.1444, allocations: 0 / 485.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005831/0.145, allocations: 205.3 kB / 485.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.145, allocations: 51.41 kB / 485.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.1452, allocations: 200.7 kB / 486.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.1453, allocations: 25.7 kB / 486.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.442e-05/0.1453, allocations: 111.9 kB / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.312e-05/0.1454, allocations: 35.62 kB / 486.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.386e-05/0.1455, allocations: 33.66 kB / 486.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1456, allocations: 330.8 kB / 486.6 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.1458, allocations: 47.95 kB / 486.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001639/0.1459, allocations: 78.45 kB / 486.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000307/0.1462, allocations: 122.5 kB / 486.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1463, allocations: 0 / 486.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003809/0.1466, allocations: 173.3 kB / 487 MB, free: 14.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.1467, allocations: 8 kB / 487 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.1467, allocations: 4.062 kB / 487 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.1467, allocations: 0 / 487 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002721/0.147, allocations: 43.97 kB / 487.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007954/0.1478, allocations: 1.219 MB / 488.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.1479, allocations: 16.14 kB / 488.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.1479, allocations: 12 kB / 488.3 MB, free: 12.72 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001903/0.1481, allocations: 145.7 kB / 488.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.381e-05/0.1482, allocations: 15.75 kB / 488.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004455/0.1486, allocations: 186.9 kB / 488.7 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.1487, allocations: 0 / 488.7 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1487, allocations: 4 kB / 488.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1487, allocations: 0 / 488.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000271/0.149, allocations: 229.4 kB / 488.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.149, allocations: 0 / 488.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000239/0.1492, allocations: 47.97 kB / 488.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.197e-06/0.1492, allocations: 0 / 488.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.1492, allocations: 0 / 488.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007623/0.15, allocations: 1.219 MB / 490.2 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.15, allocations: 0 / 490.2 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004288/0.1505, allocations: 251.4 kB / 490.4 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.191e-05/0.1505, allocations: 97.03 kB / 490.5 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.087e-05/0.1506, allocations: 7.938 kB / 490.5 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.1507, allocations: 7.984 kB / 490.5 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.313e-05/0.1508, allocations: 8 kB / 490.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.1508, allocations: 4 kB / 490.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001395/0.1509, allocations: 149.2 kB / 490.7 MB, free: 10.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1509, allocations: 0 / 490.7 MB, free: 10.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003277/0.1513, allocations: 47.98 kB / 490.7 MB, free: 10.18 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008646/0.1521, allocations: 0.81 MB / 491.5 MB, free: 9.348 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005366/0.1527, allocations: 163.7 kB / 491.7 MB, free: 9.188 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1527, allocations: 0 / 491.7 MB, free: 9.188 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002873/0.153, allocations: 83.94 kB / 491.8 MB, free: 9.105 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.1533, allocations: 32.55 kB / 491.8 MB, free: 9.074 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002796/0.1561, allocations: 2.137 MB / 493.9 MB, free: 6.844 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.1565, allocations: 0.7318 MB / 494.7 MB, free: 6.086 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.1567, allocations: 41.03 kB / 494.7 MB, free: 6.047 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.496e-05/0.1567, allocations: 35.42 kB / 494.7 MB, free: 6.012 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1567, allocations: 0 / 494.7 MB, free: 6.012 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02984/0.1866, allocations: 4.604 MB / 499.3 MB, free: 1.645 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/11.81, allocations: 12.14 kB / 499.4 MB, free: 1.633 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_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_Channel_kc_evenGapTurbulent_KC.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1)