Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar,fileNamePrefix="ModelicaTest_4_0_0_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_0_0_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 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 96.41 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001712/0.001712, allocations: 179.8 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.269/1.269, allocations: 223.2 MB / 241.8 MB, free: 384 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1895/0.1895, allocations: 44.22 MB / 337.1 MB, free: 2.906 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004129/0.0004129, allocations: 8 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1229, allocations: 61.91 MB / 471.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar): time 0.002192/0.1251, allocations: 1.547 MB / 473.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001535/0.1267, allocations: 0.9866 MB / 474.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.2e-05/0.1268, allocations: 3.938 kB / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002376/0.127, allocations: 55.72 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001831/0.1272, allocations: 75.8 kB / 474.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003702/0.1276, allocations: 134.5 kB / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003639/0.128, allocations: 323.3 kB / 474.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.1281, allocations: 53.02 kB / 474.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.1282, allocations: 135.4 kB / 474.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002262/0.1285, allocations: 167.3 kB / 475 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.88e-05/0.1285, allocations: 8 kB / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004308/0.1289, allocations: 271.6 kB / 475.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.1291, allocations: 83.7 kB / 475.4 MB, free: 9.793 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.728e-05/0.1291, allocations: 93.45 kB / 475.5 MB, free: 9.695 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004187/0.1296, allocations: 351.4 kB / 475.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.1296, allocations: 4 kB / 475.8 MB, free: 9.348 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1296, allocations: 3.938 kB / 475.8 MB, free: 9.344 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.1296, allocations: 0 / 475.8 MB, free: 9.344 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.0009091/0.1305, allocations: 0.6359 MB / 476.5 MB, free: 8.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.1306, allocations: 8.031 kB / 476.5 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001247/0.1307, allocations: 110.4 kB / 476.6 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.037e-05/0.1308, allocations: 51.34 kB / 476.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004216/0.1312, allocations: 280.8 kB / 476.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.295e-05/0.1313, allocations: 37.31 kB / 476.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.045e-05/0.1313, allocations: 51.95 kB / 477 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008791/0.1322, allocations: 0.631 MB / 477.6 MB, free: 7.445 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.1322, allocations: 0 / 477.6 MB, free: 7.445 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.993e-05/0.1323, allocations: 24 kB / 477.6 MB, free: 7.422 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.564e-05/0.1324, allocations: 33.3 kB / 477.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007463/0.1331, allocations: 0.5046 MB / 478.2 MB, free: 6.883 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002334/0.1355, allocations: 1.43 MB / 479.6 MB, free: 5.402 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008773/0.1363, allocations: 454.2 kB / 480.1 MB, free: 4.949 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.03e-05/0.1364, allocations: 11.94 kB / 480.1 MB, free: 4.938 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.1364, allocations: 34.56 kB / 480.1 MB, free: 4.895 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 2.064e-06/0.1364, allocations: 0 / 480.1 MB, free: 4.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.0009348/0.1374, allocations: 0.4978 MB / 480.6 MB, free: 4.391 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.1374, allocations: 63.34 kB / 480.7 MB, free: 4.316 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006089/0.1381, allocations: 0.5446 MB / 481.2 MB, free: 3.762 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/0.1381, allocations: 29.7 kB / 481.2 MB, free: 3.727 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.1383, allocations: 220.1 kB / 481.4 MB, free: 3.508 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.354e-05/0.1384, allocations: 86.8 kB / 481.5 MB, free: 3.422 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.326e-05/0.1384, allocations: 8 kB / 481.5 MB, free: 3.414 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.1385, allocations: 362.7 kB / 481.9 MB, free: 3.051 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002586/0.1388, allocations: 152.2 kB / 482 MB, free: 2.898 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003227/0.1391, allocations: 249.8 kB / 482.3 MB, free: 2.613 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003331/0.1395, allocations: 197.2 kB / 482.5 MB, free: 2.422 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.1395, allocations: 0 / 482.5 MB, free: 2.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007991/0.1403, allocations: 0.5023 MB / 483 MB, free: 1.914 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.1403, allocations: 4 kB / 483 MB, free: 1.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.239e-05/0.1404, allocations: 39.97 kB / 483 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.1404, allocations: 7.984 kB / 483 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.1406, allocations: 39.91 kB / 483.1 MB, free: 1.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.1406, allocations: 4 kB / 483.1 MB, free: 1.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002547/0.1409, allocations: 59.66 kB / 483.1 MB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.372e-05/0.141, allocations: 31.98 kB / 483.2 MB, free: 1.73 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003055/0.1413, allocations: 222.1 kB / 483.4 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.171e-05/0.1414, allocations: 43.44 kB / 483.4 MB, free: 1.461 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009497/0.1423, allocations: 0.54 MB / 484 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.1424, allocations: 11.92 kB / 484 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1424, allocations: 0 / 484 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1424, allocations: 0 / 484 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005876/0.143, allocations: 433.1 kB / 484.4 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.973e-05/0.143, allocations: 35.97 kB / 484.4 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.1432, allocations: 31.92 kB / 484.5 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1432, allocations: 0 / 484.5 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.967e-05/0.1433, allocations: 8 kB / 484.5 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.1433, allocations: 4 kB / 484.5 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1433, allocations: 0 / 484.5 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.1443, allocations: 0.7144 MB / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.1445, allocations: 124.5 kB / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.844e-05/0.1446, allocations: 8 kB / 485.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.1447, allocations: 4 kB / 485.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.406e-05/0.1448, allocations: 23.97 kB / 485.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.298e-05/0.1448, allocations: 23.92 kB / 485.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00042/0.1453, allocations: 391 kB / 485.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1453, allocations: 4.062 kB / 485.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005255/0.1458, allocations: 151.9 kB / 485.9 MB, free: 14.89 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001549/0.1474, allocations: 1.302 MB / 487.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008573/0.1482, allocations: 0.6679 MB / 487.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.526e-05/0.1483, allocations: 0.8125 kB / 487.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004434/0.1487, allocations: 489.2 kB / 488.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004519/0.1492, allocations: 85.84 kB / 488.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005318/0.1545, allocations: 5.253 MB / 493.7 MB, free: 6.812 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004528/0.155, allocations: 0.886 MB / 494.6 MB, free: 5.902 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002994/0.1553, allocations: 120.1 kB / 494.7 MB, free: 5.785 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001863/0.1555, allocations: 135.4 kB / 494.8 MB, free: 5.652 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1555, allocations: 0 / 494.8 MB, free: 5.652 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02507/0.1806, allocations: 11.66 MB / 0.4946 GB, free: 10.25 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002846/0.1809, allocations: 232.1 kB / 0.4948 GB, free: 10.01 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.019/2.2, allocations: 0 / 0.4948 GB, free: 10.01 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat does not exist to compare? outputFormat=mat