Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.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.HelicalPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009775/0.0009774, allocations: 94.36 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001014/0.001014, allocations: 204.7 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 227.3 MB / 245.9 MB, free: 10.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2372/0.2372, allocations: 45.92 MB / 344 MB, free: 12.08 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000273/0.0002732, allocations: 7.984 kB / 418.1 MB, free: 20.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1321, allocations: 63.46 MB / 481.5 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.002101/0.1342, allocations: 1.642 MB / 483.2 MB, free: 3.578 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.1354, allocations: 0.8344 MB / 484 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.305e-05/0.1355, allocations: 0 / 484 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002122/0.1357, allocations: 55.66 kB / 484.1 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002455/0.136, allocations: 83.72 kB / 484.1 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002031/0.1362, allocations: 83.83 kB / 484.2 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002694/0.1365, allocations: 251.4 kB / 484.5 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.358e-05/0.1365, allocations: 40.72 kB / 484.5 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001783/0.1367, allocations: 119.5 kB / 484.6 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001799/0.1369, allocations: 139.4 kB / 484.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.783e-05/0.1369, allocations: 12 kB / 484.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002476/0.1372, allocations: 151.8 kB / 484.9 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.01e-05/0.1373, allocations: 83.66 kB / 485 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.173e-05/0.1374, allocations: 81.52 kB / 485.1 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002883/0.1376, allocations: 275.6 kB / 485.4 MB, free: 1.387 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.1377, allocations: 0 / 485.4 MB, free: 1.387 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1377, allocations: 0 / 485.4 MB, free: 1.387 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.1377, allocations: 0 / 485.4 MB, free: 1.387 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0008497/0.1385, allocations: 0.5927 MB / 486 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.1386, allocations: 8.031 kB / 486 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.556e-05/0.1387, allocations: 86.52 kB / 486 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.536e-05/0.1387, allocations: 47.44 kB / 486.1 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003336/0.1391, allocations: 274.5 kB / 486.4 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.1391, allocations: 28.98 kB / 486.4 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.144e-05/0.1392, allocations: 36 kB / 486.4 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008078/0.14, allocations: 0.5529 MB / 487 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.14, allocations: 0 / 487 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.848e-05/0.1401, allocations: 15.98 kB / 487 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.847e-05/0.1401, allocations: 44.97 kB / 487 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009945/0.1411, allocations: 0.5776 MB / 487.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001881/0.143, allocations: 1.191 MB / 488.8 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006571/0.1437, allocations: 392 kB / 489.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.821e-05/0.1437, allocations: 12.17 kB / 489.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.1438, allocations: 30.75 kB / 489.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.293e-06/0.1438, allocations: 0 / 489.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009289/0.1447, allocations: 482.4 kB / 489.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.1448, allocations: 51.5 kB / 489.7 MB, free: 12.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004381/0.1452, allocations: 457.5 kB / 490.2 MB, free: 12.35 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.1452, allocations: 25.7 kB / 490.2 MB, free: 12.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.1454, allocations: 192.3 kB / 490.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.603e-05/0.1454, allocations: 74.91 kB / 490.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.042e-05/0.1455, allocations: 8 kB / 490.5 MB, free: 12.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.1456, allocations: 354.8 kB / 490.8 MB, free: 11.69 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/0.1458, allocations: 115.9 kB / 490.9 MB, free: 11.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002183/0.1461, allocations: 126.8 kB / 491.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002484/0.1463, allocations: 139.8 kB / 491.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1463, allocations: 0 / 491.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005859/0.1469, allocations: 348.2 kB / 491.5 MB, free: 10.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.1469, allocations: 8 kB / 491.6 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.147, allocations: 0 / 491.6 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.147, allocations: 4 kB / 491.6 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007378/0.1477, allocations: 155.8 kB / 491.7 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002727/0.1505, allocations: 5.52 MB / 497.2 MB, free: 5.078 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/0.1507, allocations: 47.41 kB / 497.3 MB, free: 5.031 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.761e-05/0.1507, allocations: 11.98 kB / 497.3 MB, free: 5.02 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 initialization (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002438/0.151, allocations: 197.8 kB / 497.5 MB, free: 4.816 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.695e-05/0.1511, allocations: 39.53 kB / 497.5 MB, free: 4.777 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008525/0.1519, allocations: 460.5 kB / 498 MB, free: 4.316 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1519, allocations: 0 / 498 MB, free: 4.316 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.152, allocations: 0 / 498 MB, free: 4.316 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.152, allocations: 8 kB / 498 MB, free: 4.309 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004511/0.1524, allocations: 381.2 kB / 498.4 MB, free: 3.887 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1524, allocations: 0 / 498.4 MB, free: 3.887 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006828/0.1531, allocations: 147.9 kB / 498.5 MB, free: 3.742 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1531, allocations: 4 kB / 498.5 MB, free: 3.738 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.1532, allocations: 8 kB / 498.5 MB, free: 3.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00275/0.1559, allocations: 5.524 MB / 0.4922 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1559, allocations: 0 / 0.4922 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006811/0.1566, allocations: 458.9 kB / 0.4927 GB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.1568, allocations: 112.7 kB / 0.4928 GB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.929e-05/0.1568, allocations: 8 kB / 0.4928 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.1571, allocations: 7.984 kB / 0.4928 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.234e-05/0.1571, allocations: 31.97 kB / 0.4928 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-05/0.1572, allocations: 11.94 kB / 0.4928 GB, free: 13.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003668/0.1575, allocations: 331.1 kB / 0.4931 GB, free: 13.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1576, allocations: 0 / 0.4931 GB, free: 13.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004208/0.158, allocations: 107.8 kB / 0.4932 GB, free: 12.92 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001121/0.1591, allocations: 1.03 MB / 0.4942 GB, free: 11.87 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001148/0.1603, allocations: 411.5 kB / 0.4946 GB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1603, allocations: 4 kB / 0.4946 GB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008289/0.1611, allocations: 279.7 kB / 0.4949 GB, free: 11.19 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000419/0.1615, allocations: 89.36 kB / 0.495 GB, free: 11.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00414/0.1657, allocations: 2.629 MB / 0.4976 GB, free: 8.418 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005866/0.1663, allocations: 0.862 MB / 0.4984 GB, free: 7.527 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003108/0.1667, allocations: 83.22 kB / 0.4985 GB, free: 7.449 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/0.1669, allocations: 111.4 kB / 0.4986 GB, free: 7.344 MB / 382.1 MB Notification: Performance of SimCode: time 1.313e-06/0.1669, allocations: 0 / 0.4986 GB, free: 7.344 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2617/0.4286, allocations: 10.21 MB / 0.5086 GB, free: 41.38 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/0.4288, allocations: 262.2 kB / 0.5088 GB, free: 41.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.019/2.448, allocations: 0 / 0.5088 GB, free: 41.04 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat