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_evenGapLaminar_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_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_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.00148/0.00148, allocations: 103.7 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.001359/0.001359, allocations: 212.6 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.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.2268/0.2268, 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.002266/0.002266, allocations: 75.12 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1192, allocations: 62.45 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC): time 0.003772/0.123, allocations: 2.176 MB / 482.4 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001615/0.1247, allocations: 0.9269 MB / 483.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.1248, allocations: 4 kB / 483.3 MB, free: 2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002889/0.1251, allocations: 75.52 kB / 483.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004047/0.1255, allocations: 143.2 kB / 483.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002691/0.1258, allocations: 87.66 kB / 483.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005477/0.1264, allocations: 485.7 kB / 484.1 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.1265, allocations: 65.03 kB / 484.2 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003213/0.1268, allocations: 195 kB / 484.4 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003085/0.1271, allocations: 226.9 kB / 484.6 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.32e-05/0.1272, allocations: 12 kB / 484.6 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003401/0.1275, allocations: 187.7 kB / 484.8 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001387/0.1277, allocations: 111.5 kB / 484.9 MB, free: 448 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002105/0.1279, allocations: 190.6 kB / 485.1 MB, free: 256 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006348/0.1285, allocations: 0.5294 MB / 485.6 MB, free: 15.72 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.1285, allocations: 4 kB / 485.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1286, allocations: 0 / 485.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.1286, allocations: 0 / 485.6 MB, free: 15.71 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001278/0.1299, allocations: 0.7585 MB / 486.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.1299, allocations: 8.031 kB / 486.4 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001148/0.13, allocations: 98.7 kB / 486.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.652e-05/0.1301, allocations: 56.22 kB / 486.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003838/0.1305, allocations: 303.9 kB / 486.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.516e-05/0.1306, allocations: 40.98 kB / 486.9 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.763e-05/0.1306, allocations: 44 kB / 486.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/0.1317, allocations: 0.7148 MB / 487.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.1317, allocations: 3.938 kB / 487.6 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.606e-05/0.1318, allocations: 19.98 kB / 487.6 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-05/0.1319, allocations: 53.28 kB / 487.7 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.1331, allocations: 0.7389 MB / 488.4 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002222/0.1354, allocations: 1.441 MB / 489.9 MB, free: 11.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008057/0.1362, allocations: 456.5 kB / 490.3 MB, free: 10.83 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003013/0.1365, allocations: 161.2 kB / 490.5 MB, free: 10.67 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.857e-05/0.1365, allocations: 4.234 kB / 490.5 MB, free: 10.67 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.1366, allocations: 38.8 kB / 490.5 MB, free: 10.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 3.707e-06/0.1366, allocations: 112 / 490.5 MB, free: 10.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.001183/0.1378, allocations: 0.5481 MB / 491.1 MB, free: 10.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.1378, allocations: 55.41 kB / 491.1 MB, free: 10 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005927/0.1384, allocations: 0.529 MB / 491.7 MB, free: 9.465 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.1385, allocations: 29.7 kB / 491.7 MB, free: 9.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/0.1387, allocations: 232.5 kB / 491.9 MB, free: 9.195 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.433e-05/0.1388, allocations: 102.5 kB / 492 MB, free: 9.094 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.1389, allocations: 82.02 kB / 492.1 MB, free: 9.008 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.1391, allocations: 362.8 kB / 492.4 MB, free: 8.645 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003104/0.1394, allocations: 156.5 kB / 492.6 MB, free: 8.492 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003789/0.1398, allocations: 248.2 kB / 492.8 MB, free: 8.211 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007226/0.1405, allocations: 435.5 kB / 493.3 MB, free: 7.746 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.1405, allocations: 4 kB / 493.3 MB, free: 7.742 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009094/0.1415, allocations: 0.4926 MB / 493.8 MB, free: 7.242 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.1415, allocations: 8 kB / 493.8 MB, free: 7.234 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.1415, allocations: 4.375 kB / 493.8 MB, free: 7.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.1415, allocations: 8 kB / 493.8 MB, free: 7.223 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009255/0.1424, allocations: 207.8 kB / 494 MB, free: 7.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004469/0.1469, allocations: 7.317 MB / 0.4896 GB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000327/0.1473, allocations: 63.64 kB / 0.4896 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.152e-05/0.1473, allocations: 20 kB / 0.4896 GB, free: 15.34 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,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 (40): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * 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): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003034/0.1476, allocations: 226.2 kB / 0.4899 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.692e-05/0.1477, allocations: 43.44 kB / 0.4899 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001103/0.1488, allocations: 0.5524 MB / 0.4904 GB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1489, allocations: 0 / 0.4904 GB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.998e-06/0.1489, allocations: 4 kB / 0.4904 GB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.1489, allocations: 3.984 kB / 0.4904 GB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000623/0.1495, allocations: 429.1 kB / 0.4909 GB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1495, allocations: 0 / 0.4909 GB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008446/0.1504, allocations: 207.8 kB / 0.491 GB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.1504, allocations: 0 / 0.491 GB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.383e-05/0.1504, allocations: 19.92 kB / 0.4911 GB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004597/0.155, allocations: 7.302 MB / 0.4982 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1551, allocations: 0 / 0.4982 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008716/0.1559, allocations: 0.5194 MB / 0.4987 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001642/0.1561, allocations: 124.5 kB / 0.4988 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.008e-05/0.1562, allocations: 8 kB / 0.4988 GB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002447/0.1565, allocations: 15.92 kB / 0.4988 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.65e-05/0.1566, allocations: 23.97 kB / 0.4989 GB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-05/0.1566, allocations: 15.98 kB / 0.4989 GB, free: 5.488 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004828/0.1571, allocations: 391 kB / 0.4993 GB, free: 5.109 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1571, allocations: 0 / 0.4993 GB, free: 5.109 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004845/0.1576, allocations: 135.8 kB / 0.4994 GB, free: 4.977 MB / 382.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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * 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): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00131/0.1589, allocations: 1.086 MB / 0.5004 GB, free: 3.859 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001628/0.1606, allocations: 0.5822 MB / 0.501 GB, free: 3.277 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1606, allocations: 0 / 0.501 GB, free: 3.277 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001045/0.1616, allocations: 344.5 kB / 0.5013 GB, free: 2.941 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005254/0.1622, allocations: 93.86 kB / 0.5014 GB, free: 2.852 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1789/0.341, allocations: 5.393 MB / 0.5067 GB, free: 41.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.3415, allocations: 0.8921 MB / 0.5076 GB, free: 40.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003533/0.3418, allocations: 128.1 kB / 0.5077 GB, free: 40.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001731/0.342, allocations: 141.9 kB / 0.5078 GB, free: 40.9 MB / 382.1 MB Notification: Performance of SimCode: time 9.02e-07/0.342, allocations: 0 / 0.5078 GB, free: 40.9 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03901/0.381, allocations: 13.29 MB / 0.5208 GB, free: 37.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.29, allocations: 8.75 kB / 0.5208 GB, free: 37.33 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe 2>&1)