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.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,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001736/0.001736, 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.002031/0.002031, 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.412/1.412, 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.2316/0.2316, allocations: 46.12 MB / 344.2 MB, free: 11.56 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.002225/0.002225, allocations: 82.67 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1127, allocations: 62.45 MB / 480.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar): time 0.003249/0.116, allocations: 1.946 MB / 482.2 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.1178, allocations: 1.164 MB / 483.4 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.314e-05/0.1178, allocations: 0 / 483.4 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002457/0.1181, allocations: 67.64 kB / 483.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00024/0.1184, allocations: 99.41 kB / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004291/0.1188, allocations: 155.4 kB / 483.7 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005116/0.1193, allocations: 481.7 kB / 484.1 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.1194, allocations: 57.02 kB / 484.2 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001547/0.1196, allocations: 159.1 kB / 484.3 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000277/0.1199, allocations: 199 kB / 484.5 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.999e-05/0.1199, allocations: 12 kB / 484.6 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004771/0.1204, allocations: 279.5 kB / 484.8 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.1205, allocations: 95.53 kB / 484.9 MB, free: 408 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001941/0.1207, allocations: 186.7 kB / 485.1 MB, free: 220 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006774/0.1214, allocations: 0.5568 MB / 485.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1215, allocations: 4 kB / 485.7 MB, free: 15.65 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1215, allocations: 0 / 485.7 MB, free: 15.65 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.819e-06/0.1215, allocations: 0 / 485.7 MB, free: 15.65 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.0009986/0.1225, allocations: 0.718 MB / 486.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.1225, allocations: 8.031 kB / 486.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001187/0.1226, allocations: 98.69 kB / 486.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.778e-05/0.1227, allocations: 48.38 kB / 486.5 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000361/0.1231, allocations: 299.6 kB / 486.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.736e-05/0.1231, allocations: 37.69 kB / 486.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.462e-05/0.1232, allocations: 55.94 kB / 486.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009391/0.1242, allocations: 0.6349 MB / 487.6 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.1242, allocations: 3.938 kB / 487.6 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.054e-05/0.1242, allocations: 16 kB / 487.6 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.038e-05/0.1243, allocations: 37.3 kB / 487.6 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008142/0.1251, allocations: 0.5008 MB / 488.1 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002367/0.1275, allocations: 1.422 MB / 489.5 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007763/0.1283, allocations: 434.2 kB / 490 MB, free: 11.19 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002428/0.1285, allocations: 132.8 kB / 490.1 MB, free: 11.06 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.787e-05/0.1286, allocations: 15.92 kB / 490.1 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.1286, allocations: 42.5 kB / 490.1 MB, free: 10.99 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.713e-06/0.1286, allocations: 0 / 490.1 MB, free: 10.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.000969/0.1296, allocations: 0.4967 MB / 490.6 MB, free: 10.49 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.1297, allocations: 59.39 kB / 490.7 MB, free: 10.42 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006392/0.1303, allocations: 0.5484 MB / 491.2 MB, free: 9.863 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/0.1304, allocations: 29.7 kB / 491.3 MB, free: 9.828 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/0.1306, allocations: 224.1 kB / 491.5 MB, free: 9.605 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.256e-05/0.1307, allocations: 82.81 kB / 491.6 MB, free: 9.523 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/0.1308, allocations: 97.92 kB / 491.7 MB, free: 9.422 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.131, allocations: 358.7 kB / 492 MB, free: 9.062 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002785/0.1313, allocations: 156.2 kB / 492.2 MB, free: 8.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003726/0.1317, allocations: 256.7 kB / 492.4 MB, free: 8.617 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003924/0.1356, allocations: 1.053 MB / 493.5 MB, free: 7.523 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.1356, allocations: 4 kB / 493.5 MB, free: 7.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008816/0.1365, allocations: 0.5006 MB / 494 MB, free: 7.012 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.1365, allocations: 4 kB / 494 MB, free: 7.008 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.556e-05/0.1366, allocations: 43.98 kB / 494 MB, free: 6.965 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.1366, allocations: 7.984 kB / 494 MB, free: 6.957 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.1368, allocations: 39.92 kB / 494.1 MB, free: 6.918 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/0.1369, allocations: 11.92 kB / 494.1 MB, free: 6.906 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002469/0.1371, allocations: 55.31 kB / 494.1 MB, free: 6.852 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.374e-05/0.1372, allocations: 24 kB / 494.2 MB, free: 6.828 MB / 366.1 MB Warning: Assuming fixed start value for the following 1 variables: dimlesslength:VARIABLE(start = 0.01 unit = "m" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (41): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0003116/0.1375, allocations: 222.2 kB / 494.4 MB, free: 6.602 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.153e-05/0.1376, allocations: 43.44 kB / 494.4 MB, free: 6.559 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/0.1386, allocations: 0.5442 MB / 495 MB, free: 6.008 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.1386, allocations: 7.938 kB / 495 MB, free: 6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1386, allocations: 4 kB / 495 MB, free: 5.996 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1386, allocations: 0 / 495 MB, free: 5.996 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006282/0.1393, allocations: 437.1 kB / 495.4 MB, free: 5.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.988e-05/0.1393, allocations: 39.98 kB / 495.4 MB, free: 5.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001692/0.1395, allocations: 23.98 kB / 495.5 MB, free: 5.457 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.1395, allocations: 0 / 495.5 MB, free: 5.457 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.991e-05/0.1396, allocations: 15.94 kB / 495.5 MB, free: 5.441 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.1396, allocations: 4 kB / 495.5 MB, free: 5.438 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-06/0.1396, allocations: 3.984 kB / 495.5 MB, free: 5.434 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.1407, allocations: 0.7101 MB / 496.2 MB, free: 4.707 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.1408, allocations: 124.6 kB / 496.3 MB, free: 4.566 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.001e-05/0.1409, allocations: 4 kB / 496.3 MB, free: 4.562 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.1411, allocations: 8 kB / 496.3 MB, free: 4.555 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.607e-05/0.1412, allocations: 27.97 kB / 496.4 MB, free: 4.527 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-05/0.1412, allocations: 8 kB / 496.4 MB, free: 4.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004512/0.1417, allocations: 407 kB / 496.8 MB, free: 4.121 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1417, allocations: 0 / 496.8 MB, free: 4.121 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004932/0.1422, allocations: 147.8 kB / 496.9 MB, free: 3.977 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dimlesslength) * 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: 12 * 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.001742/0.1439, allocations: 1.321 MB / 498.2 MB, free: 2.629 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009302/0.1449, allocations: 0.7303 MB / 499 MB, free: 1.824 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1449, allocations: 0 / 499 MB, free: 1.824 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000455/0.1453, allocations: 484.2 kB / 499.4 MB, free: 1.277 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005091/0.1459, allocations: 98.03 kB / 499.5 MB, free: 1.184 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007439/0.1533, allocations: 5.491 MB / 0.4932 GB, free: 11.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005635/0.1539, allocations: 0.878 MB / 0.494 GB, free: 10.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002819/0.1542, allocations: 120.1 kB / 0.4942 GB, free: 10.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001884/0.1544, allocations: 135.4 kB / 0.4943 GB, free: 10.38 MB / 382.1 MB Notification: Performance of SimCode: time 9.01e-07/0.1544, allocations: 8 kB / 0.4943 GB, free: 10.37 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2068/0.3612, allocations: 12.68 MB / 0.5067 GB, free: 42.67 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.264/8.625, allocations: 10.41 kB / 0.5067 GB, free: 42.66 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_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.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe 2>&1)