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_evenGapTurbulent.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_evenGapTurbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",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.001207/0.001207, allocations: 95.67 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.001487/0.001487, allocations: 181.7 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.321/1.321, allocations: 223.2 MB / 241.8 MB, free: 392 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.1962/0.1962, allocations: 44.23 MB / 337.1 MB, free: 2.91 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003242/0.0003245, allocations: 12.81 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1199, allocations: 61.91 MB / 471.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.002113/0.1221, allocations: 1.532 MB / 473.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001549/0.1237, allocations: 0.963 MB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.495e-05/0.1237, allocations: 0 / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002092/0.124, allocations: 35.81 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001241/0.1241, allocations: 43.84 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004168/0.1245, allocations: 139.1 kB / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000207/0.1247, allocations: 147.6 kB / 474.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.522e-05/0.1248, allocations: 17.67 kB / 474.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.1249, allocations: 71.69 kB / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.1251, allocations: 79.67 kB / 474.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.861e-05/0.1251, allocations: 8 kB / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004444/0.1256, allocations: 239.6 kB / 474.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.816e-05/0.1257, allocations: 51.81 kB / 474.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.78e-05/0.1257, allocations: 49.64 kB / 474.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002727/0.126, allocations: 199.8 kB / 475.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.126, allocations: 3.938 kB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.126, allocations: 0 / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.126, allocations: 3.938 kB / 475.1 MB, free: 10.05 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.000992/0.127, allocations: 0.5335 MB / 475.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.1271, allocations: 8.031 kB / 475.7 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.034e-05/0.1272, allocations: 50.55 kB / 475.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.94e-05/0.1272, allocations: 23.72 kB / 475.7 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.1275, allocations: 231.2 kB / 476 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.1275, allocations: 11.95 kB / 476 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.789e-05/0.1276, allocations: 20 kB / 476 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005457/0.1281, allocations: 292.2 kB / 476.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.1281, allocations: 8 kB / 476.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/0.1282, allocations: 4 kB / 476.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.079e-05/0.1282, allocations: 12 kB / 476.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000557/0.1288, allocations: 243.7 kB / 476.5 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.1299, allocations: 0.7773 MB / 477.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005622/0.1305, allocations: 243.7 kB / 477.6 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.835e-05/0.1305, allocations: 4.109 kB / 477.6 MB, free: 7.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.1306, allocations: 42.48 kB / 477.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.1306, allocations: 4 kB / 477.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.001037/0.1316, allocations: 0.5748 MB / 478.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.906e-05/0.1317, allocations: 110.8 kB / 478.3 MB, free: 6.586 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002495/0.1319, allocations: 274.6 kB / 478.6 MB, free: 6.312 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.132, allocations: 29.7 kB / 478.6 MB, free: 6.277 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.076e-05/0.1321, allocations: 139.9 kB / 478.7 MB, free: 6.137 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.535e-05/0.1321, allocations: 39.36 kB / 478.8 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.361e-05/0.1321, allocations: 4 kB / 478.8 MB, free: 6.094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.1322, allocations: 338.8 kB / 479.1 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002546/0.1325, allocations: 103.8 kB / 479.2 MB, free: 5.652 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002619/0.1328, allocations: 133.1 kB / 479.3 MB, free: 5.504 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002799/0.133, allocations: 107.9 kB / 479.4 MB, free: 5.398 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.1331, allocations: 0 / 479.4 MB, free: 5.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006216/0.1337, allocations: 289.2 kB / 479.7 MB, free: 5.109 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.1337, allocations: 14.06 kB / 479.7 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.748e-05/0.1338, allocations: 11.98 kB / 479.7 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.1338, allocations: 0 / 479.7 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/0.134, allocations: 39.91 kB / 479.8 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/0.134, allocations: 11.94 kB / 479.8 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001963/0.1342, allocations: 43.77 kB / 479.8 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.1342, allocations: 8 kB / 479.8 MB, free: 4.984 MB / 350.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: 3 (m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001487/0.1344, allocations: 154.2 kB / 480 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.503e-05/0.1345, allocations: 19.72 kB / 480 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004843/0.135, allocations: 239 kB / 480.2 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.135, allocations: 7.938 kB / 480.3 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.135, allocations: 0 / 480.3 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.135, allocations: 3.953 kB / 480.3 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003899/0.1354, allocations: 261.5 kB / 480.5 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.932e-05/0.1354, allocations: 15.98 kB / 480.5 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001716/0.1356, allocations: 39.91 kB / 480.6 MB, free: 4.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1356, allocations: 0 / 480.6 MB, free: 4.195 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.1356, allocations: 4 kB / 480.6 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.1356, allocations: 7.984 kB / 480.6 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1356, allocations: 0 / 480.6 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006702/0.1363, allocations: 0.5167 MB / 481.1 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.206e-05/0.1364, allocations: 100.8 kB / 481.2 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.927e-05/0.1364, allocations: 8 kB / 481.2 MB, free: 3.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002527/0.1367, allocations: 27.92 kB / 481.2 MB, free: 3.484 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.585e-05/0.1368, allocations: 19.92 kB / 481.2 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.1368, allocations: 12 kB / 481.3 MB, free: 3.453 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000175/0.137, allocations: 205.9 kB / 481.5 MB, free: 3.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.137, allocations: 0 / 481.5 MB, free: 3.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004379/0.1374, allocations: 71.94 kB / 481.5 MB, free: 3.18 MB / 350.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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001127/0.1386, allocations: 1.254 MB / 482.8 MB, free: 1.891 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006209/0.1392, allocations: 292.9 kB / 483.1 MB, free: 1.586 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1392, allocations: 4 kB / 483.1 MB, free: 1.582 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003159/0.1395, allocations: 197.3 kB / 483.3 MB, free: 1.371 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003585/0.1399, allocations: 40.39 kB / 483.3 MB, free: 1.332 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002745/0.1426, allocations: 2.352 MB / 485.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.143, allocations: 0.7635 MB / 486.4 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001149/0.1431, allocations: 41.52 kB / 486.5 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.413e-05/0.1432, allocations: 63.41 kB / 486.5 MB, free: 14 MB / 366.1 MB Notification: Performance of SimCode: time 4e-07/0.1432, allocations: 4 kB / 486.5 MB, free: 14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01544/0.1586, allocations: 5.827 MB / 492.4 MB, free: 8.41 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000187/0.1589, allocations: 219.7 kB / 492.6 MB, free: 8.176 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.83/1.989, allocations: 3.938 kB / 492.6 MB, free: 8.172 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.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_evenGapTurbulent_res.mat does not exist to compare? outputFormat=mat