Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_evenGapTurbulent,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001001/0.001001, allocations: 101.7 kB / 17 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001093/0.001093, allocations: 192.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.4 MB / 246 MB, free: 10.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2242/0.2242, allocations: 45.9 MB / 344.1 MB, free: 12.08 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002836/0.0002836, allocations: 8 kB / 418.2 MB, free: 20.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1279, allocations: 63.46 MB / 481.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.002252/0.1302, allocations: 1.588 MB / 483.2 MB, free: 3.625 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001679/0.1319, allocations: 1.045 MB / 484.3 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.939e-05/0.132, allocations: 4 kB / 484.3 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002296/0.1323, allocations: 35.81 kB / 484.3 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001854/0.1325, allocations: 63.66 kB / 484.4 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000499/0.133, allocations: 143.5 kB / 484.5 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003457/0.1333, allocations: 259 kB / 484.8 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.045e-05/0.1334, allocations: 25.67 kB / 484.8 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001828/0.1336, allocations: 87.62 kB / 484.9 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001799/0.1338, allocations: 111.5 kB / 485 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.712e-05/0.1338, allocations: 4 kB / 485 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004019/0.1342, allocations: 235.6 kB / 485.2 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.238e-05/0.1343, allocations: 51.81 kB / 485.3 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.66e-05/0.1344, allocations: 57.58 kB / 485.3 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002975/0.1347, allocations: 207.7 kB / 485.5 MB, free: 1.312 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1347, allocations: 4 kB / 485.5 MB, free: 1.309 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1347, allocations: 0 / 485.5 MB, free: 1.309 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.1347, allocations: 0 / 485.5 MB, free: 1.309 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.0009066/0.1356, allocations: 0.5413 MB / 486.1 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.1357, allocations: 8.031 kB / 486.1 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.772e-05/0.1357, allocations: 62.52 kB / 486.2 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003459/0.1361, allocations: 71.64 kB / 486.2 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.1363, allocations: 227.1 kB / 486.4 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.1363, allocations: 12 kB / 486.5 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.96e-05/0.1364, allocations: 12 kB / 486.5 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005434/0.1369, allocations: 292.5 kB / 486.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.137, allocations: 0 / 486.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/0.137, allocations: 8 kB / 486.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.563e-05/0.137, allocations: 11.75 kB / 486.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000522/0.1375, allocations: 251.7 kB / 487 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009706/0.1385, allocations: 0.7656 MB / 487.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005241/0.1391, allocations: 243.7 kB / 488 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002414/0.1393, allocations: 110.6 kB / 488.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.843e-05/0.1394, allocations: 11.89 kB / 488.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.1394, allocations: 34.56 kB / 488.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.823e-06/0.1394, allocations: 4 kB / 488.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008627/0.1403, allocations: 349.3 kB / 488.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.1403, allocations: 114.8 kB / 488.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/0.1406, allocations: 274.6 kB / 488.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.1406, allocations: 25.7 kB / 488.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.097e-05/0.1407, allocations: 143.9 kB / 489.1 MB, free: 13.51 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.805e-05/0.1408, allocations: 47.36 kB / 489.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.095e-05/0.1408, allocations: 0 / 489.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.1409, allocations: 326.8 kB / 489.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002457/0.1411, allocations: 100 kB / 489.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002519/0.1414, allocations: 143 kB / 489.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000258/0.1417, allocations: 115.8 kB / 489.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1417, allocations: 0 / 489.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006778/0.1424, allocations: 293.2 kB / 490.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.1424, allocations: 4 kB / 490.1 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.847e-05/0.1424, allocations: 8 kB / 490.1 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.1425, allocations: 11.92 kB / 490.1 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.1426, allocations: 39.95 kB / 490.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.1427, allocations: 3.938 kB / 490.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002408/0.1429, allocations: 47.8 kB / 490.2 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.1429, allocations: 7.984 kB / 490.2 MB, free: 12.36 MB / 366.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.0001372/0.1431, allocations: 145.8 kB / 490.3 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.692e-05/0.1432, allocations: 27.67 kB / 490.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004965/0.1437, allocations: 235.5 kB / 490.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.1437, allocations: 4 kB / 490.6 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1437, allocations: 0 / 490.6 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1437, allocations: 0 / 490.6 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000399/0.1441, allocations: 265.5 kB / 490.9 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.989e-05/0.1441, allocations: 12 kB / 490.9 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001645/0.1443, allocations: 35.97 kB / 490.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1443, allocations: 0 / 490.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.1443, allocations: 15.94 kB / 490.9 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.1443, allocations: 4 kB / 490.9 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.1444, allocations: 4 kB / 490.9 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000665/0.145, allocations: 0.4975 MB / 491.4 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001627/0.1452, allocations: 100.8 kB / 491.5 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.604e-05/0.1452, allocations: 4 kB / 491.5 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/0.1455, allocations: 27.94 kB / 491.6 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.18e-05/0.1455, allocations: 11.97 kB / 491.6 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.1456, allocations: 12 kB / 491.6 MB, free: 10.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001867/0.1458, allocations: 201.9 kB / 491.8 MB, free: 10.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1458, allocations: 0 / 491.8 MB, free: 10.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004464/0.1462, allocations: 79.92 kB / 491.9 MB, free: 10.6 MB / 366.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.001264/0.1475, allocations: 1.086 MB / 492.9 MB, free: 9.484 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006312/0.1481, allocations: 312.7 kB / 493.2 MB, free: 9.164 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1482, allocations: 0 / 493.2 MB, free: 9.164 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003311/0.1485, allocations: 197 kB / 493.4 MB, free: 8.953 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005161/0.149, allocations: 48.42 kB / 493.5 MB, free: 8.906 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002832/0.1519, allocations: 1.622 MB / 495.1 MB, free: 7.203 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.1522, allocations: 0.7557 MB / 495.9 MB, free: 6.422 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001214/0.1523, allocations: 49.48 kB / 495.9 MB, free: 6.375 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.1525, allocations: 59.41 kB / 496 MB, free: 6.316 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1525, allocations: 4 kB / 496 MB, free: 6.312 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01671/0.1692, allocations: 5.928 MB / 0.4901 GB, free: 0.6133 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001632/0.1694, allocations: 236.2 kB / 0.4904 GB, free: 384 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.884/2.054, allocations: 2.094 kB / 0.4904 GB, free: 384 kB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat does not exist to compare? outputFormat=mat