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.000878/0.0008781, allocations: 98.42 kB / 17 MB, free: 6.418 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.0008602/0.0008603, allocations: 189.7 kB / 17.89 MB, free: 5.945 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.416/1.416, allocations: 223.2 MB / 241.9 MB, free: 308 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.217/0.217, allocations: 44.22 MB / 337.2 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003137/0.0003137, allocations: 13.08 kB / 409.7 MB, free: 27.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1259, allocations: 61.93 MB / 471.7 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.001996/0.128, allocations: 1.567 MB / 473.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.1294, allocations: 0.9862 MB / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.957e-05/0.1295, allocations: 0 / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002041/0.1297, allocations: 47.73 kB / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000159/0.1299, allocations: 47.73 kB / 474.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003904/0.1303, allocations: 139.3 kB / 474.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003169/0.1306, allocations: 266.9 kB / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.15e-05/0.1307, allocations: 21.67 kB / 474.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.1308, allocations: 87.62 kB / 474.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.131, allocations: 107.5 kB / 474.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.131, allocations: 4 kB / 474.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003526/0.1314, allocations: 219.6 kB / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.635e-05/0.1314, allocations: 55.8 kB / 475.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.894e-05/0.1315, allocations: 53.58 kB / 475.3 MB, free: 9.996 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002693/0.1318, allocations: 211.7 kB / 475.5 MB, free: 9.789 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.1318, allocations: 0 / 475.5 MB, free: 9.789 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1318, allocations: 0 / 475.5 MB, free: 9.789 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1318, allocations: 4 kB / 475.5 MB, free: 9.785 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.0009126/0.1327, allocations: 0.5336 MB / 476 MB, free: 9.203 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.1328, allocations: 12.02 kB / 476 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.196e-05/0.1328, allocations: 50.55 kB / 476.1 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.1329, allocations: 23.72 kB / 476.1 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.1331, allocations: 227.2 kB / 476.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.1331, allocations: 15.95 kB / 476.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/0.1332, allocations: 15.98 kB / 476.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00052/0.1337, allocations: 292.3 kB / 476.6 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.1337, allocations: 0 / 476.6 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/0.1338, allocations: 8 kB / 476.6 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.22e-05/0.1338, allocations: 15.97 kB / 476.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005608/0.1344, allocations: 251.7 kB / 476.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.1354, allocations: 0.7695 MB / 477.7 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005429/0.136, allocations: 243.7 kB / 477.9 MB, free: 7.148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002655/0.1362, allocations: 114.6 kB / 478 MB, free: 7.027 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.942e-05/0.1363, allocations: 11.98 kB / 478 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.1363, allocations: 30.56 kB / 478.1 MB, free: 6.977 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.703e-06/0.1363, allocations: 0 / 478.1 MB, free: 6.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009164/0.1373, allocations: 357.2 kB / 478.4 MB, free: 6.621 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.665e-05/0.1373, allocations: 106.8 kB / 478.5 MB, free: 6.492 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002756/0.1376, allocations: 274.6 kB / 478.8 MB, free: 6.219 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.1376, allocations: 25.7 kB / 478.8 MB, free: 6.188 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.1378, allocations: 143.9 kB / 478.9 MB, free: 6.043 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.32e-05/0.1378, allocations: 47.34 kB / 479 MB, free: 5.996 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.31e-05/0.1378, allocations: 8.031 kB / 479 MB, free: 5.988 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.138, allocations: 334.8 kB / 479.3 MB, free: 5.652 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002516/0.1382, allocations: 91.92 kB / 479.4 MB, free: 5.562 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002823/0.1385, allocations: 141 kB / 479.5 MB, free: 5.406 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003104/0.1388, allocations: 107.9 kB / 479.7 MB, free: 5.301 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.1388, allocations: 0 / 479.7 MB, free: 5.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006317/0.1395, allocations: 293.1 kB / 479.9 MB, free: 5.008 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.1395, allocations: 6.5 kB / 479.9 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.554e-05/0.1395, allocations: 11.98 kB / 480 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.1396, allocations: 8 kB / 480 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/0.1398, allocations: 44.03 kB / 480 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.1398, allocations: 7.953 kB / 480 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/0.14, allocations: 43.75 kB / 480.1 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/0.1401, allocations: 4 kB / 480.1 MB, free: 4.887 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.0001606/0.1402, allocations: 145.8 kB / 480.2 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.85e-05/0.1403, allocations: 23.72 kB / 480.2 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005107/0.1408, allocations: 243.5 kB / 480.5 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.1409, allocations: 4 kB / 480.5 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.1409, allocations: 0 / 480.5 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.1409, allocations: 3.953 kB / 480.5 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004252/0.1413, allocations: 261.5 kB / 480.7 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.312e-05/0.1413, allocations: 15.98 kB / 480.7 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/0.1415, allocations: 31.97 kB / 480.8 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.1415, allocations: 4.094 kB / 480.8 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.1416, allocations: 3.938 kB / 480.8 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.1416, allocations: 4 kB / 480.8 MB, free: 4.098 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1416, allocations: 3.938 kB / 480.8 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006845/0.1423, allocations: 0.5015 MB / 481.3 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.108e-05/0.1423, allocations: 100.8 kB / 481.4 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.766e-05/0.1424, allocations: 4 kB / 481.4 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000271/0.1427, allocations: 31.97 kB / 481.4 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.092e-05/0.1427, allocations: 7.984 kB / 481.4 MB, free: 3.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.1428, allocations: 8 kB / 481.4 MB, free: 3.406 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001887/0.143, allocations: 209.9 kB / 481.6 MB, free: 3.199 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.143, allocations: 0 / 481.6 MB, free: 3.199 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004469/0.1434, allocations: 71.94 kB / 481.7 MB, free: 3.129 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.001234/0.1447, allocations: 1.097 MB / 482.8 MB, free: 2.004 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006408/0.1453, allocations: 300.8 kB / 483.1 MB, free: 1.691 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/0.1453, allocations: 4 kB / 483.1 MB, free: 1.688 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003086/0.1456, allocations: 197.3 kB / 483.3 MB, free: 1.477 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005376/0.1462, allocations: 44.52 kB / 483.3 MB, free: 1.434 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002829/0.149, allocations: 1.63 MB / 485 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004146/0.1495, allocations: 0.7518 MB / 485.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001363/0.1496, allocations: 41.45 kB / 485.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.1497, allocations: 63.41 kB / 485.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1497, allocations: 3.938 kB / 485.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0188/0.1685, allocations: 5.889 MB / 491.7 MB, free: 9.188 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002121/0.1688, allocations: 226 kB / 491.9 MB, free: 8.953 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.903/2.072, allocations: 4.062 kB / 491.9 MB, free: 8.949 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