Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.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,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009517/0.0009517, allocations: 101.1 kB / 17 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001282/0.001282, allocations: 194.1 kB / 17.9 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.3 MB / 246 MB, free: 11.96 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2144/0.2144, allocations: 45.91 MB / 344.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002874/0.0002875, allocations: 8 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1316, allocations: 63.48 MB / 481.7 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.002171/0.1339, allocations: 1.767 MB / 483.4 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001567/0.1354, allocations: 1.099 MB / 484.5 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.928e-05/0.1355, allocations: 0 / 484.5 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002322/0.1358, allocations: 47.67 kB / 484.6 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001991/0.136, allocations: 87.5 kB / 484.7 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004172/0.1364, allocations: 139.5 kB / 484.8 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000454/0.1369, allocations: 470 kB / 485.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.955e-05/0.137, allocations: 44.72 kB / 485.3 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002325/0.1372, allocations: 147.2 kB / 485.4 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002336/0.1375, allocations: 187.2 kB / 485.6 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.368e-05/0.1375, allocations: 12 kB / 485.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003719/0.1379, allocations: 219.5 kB / 485.9 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.138, allocations: 83.59 kB / 485.9 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.349e-05/0.1381, allocations: 85.45 kB / 486 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004092/0.1385, allocations: 351.2 kB / 486.4 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1385, allocations: 0 / 486.4 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.607e-06/0.1385, allocations: 3.984 kB / 486.4 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.1385, allocations: 0 / 486.4 MB, free: 0.5078 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.00107/0.1396, allocations: 0.6512 MB / 487 MB, free: 15.81 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.1397, allocations: 8.031 kB / 487 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.79e-05/0.1398, allocations: 82.52 kB / 487.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003861/0.1402, allocations: 83.41 kB / 487.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/0.1405, allocations: 290.2 kB / 487.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.873e-05/0.1405, allocations: 32.98 kB / 487.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.373e-05/0.1406, allocations: 36 kB / 487.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008944/0.1415, allocations: 0.5778 MB / 488.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.1415, allocations: 4 kB / 488.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.546e-05/0.1415, allocations: 16 kB / 488.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.922e-05/0.1416, allocations: 28.98 kB / 488.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008147/0.1424, allocations: 447.6 kB / 488.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001771/0.1442, allocations: 1.379 MB / 490 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005098/0.1447, allocations: 283.6 kB / 490.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003244/0.1451, allocations: 154.5 kB / 490.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.862e-05/0.1451, allocations: 7.984 kB / 490.4 MB, free: 12.24 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.1452, allocations: 38.56 kB / 490.5 MB, free: 12.19 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.983e-06/0.1452, allocations: 0 / 490.5 MB, free: 12.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.00122/0.1464, allocations: 491.8 kB / 490.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.061e-05/0.1465, allocations: 110.8 kB / 491 MB, free: 11.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006285/0.1471, allocations: 0.4978 MB / 491.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.1471, allocations: 29.77 kB / 491.6 MB, free: 11.03 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.1473, allocations: 208.2 kB / 491.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.142e-05/0.1474, allocations: 55.19 kB / 491.8 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.926e-05/0.1474, allocations: 8 kB / 491.8 MB, free: 10.76 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.1475, allocations: 350.8 kB / 492.2 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000316/0.1479, allocations: 140 kB / 492.3 MB, free: 10.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003438/0.1482, allocations: 181.4 kB / 492.5 MB, free: 10.08 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003525/0.1486, allocations: 155.8 kB / 492.6 MB, free: 9.926 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.1486, allocations: 0 / 492.6 MB, free: 9.926 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008257/0.1494, allocations: 392.8 kB / 493 MB, free: 9.535 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/0.1495, allocations: 8 kB / 493 MB, free: 9.527 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.658e-05/0.1495, allocations: 35.92 kB / 493.1 MB, free: 9.492 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/0.1496, allocations: 8.156 kB / 493.1 MB, free: 9.484 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.1498, allocations: 39.91 kB / 493.1 MB, free: 9.445 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/0.1498, allocations: 7.938 kB / 493.1 MB, free: 9.438 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002549/0.1501, allocations: 67.36 kB / 493.2 MB, free: 9.371 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.138e-05/0.1501, allocations: 12 kB / 493.2 MB, free: 9.359 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0002323/0.1504, allocations: 194.2 kB / 493.4 MB, free: 9.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.1505, allocations: 35.53 kB / 493.4 MB, free: 9.125 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008492/0.1513, allocations: 399.6 kB / 493.8 MB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.106e-06/0.1514, allocations: 4 kB / 493.8 MB, free: 8.727 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.1514, allocations: 4 kB / 493.8 MB, free: 8.723 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.964e-06/0.1514, allocations: 7.938 kB / 493.8 MB, free: 8.715 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006221/0.152, allocations: 361.3 kB / 494.2 MB, free: 8.312 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.543e-05/0.1521, allocations: 32 kB / 494.2 MB, free: 8.281 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00016/0.1522, allocations: 27.97 kB / 494.2 MB, free: 8.254 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.1523, allocations: 8 kB / 494.2 MB, free: 8.246 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.713e-05/0.1523, allocations: 7.984 kB / 494.3 MB, free: 8.238 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.1523, allocations: 0 / 494.3 MB, free: 8.238 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1523, allocations: 4 kB / 494.3 MB, free: 8.234 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009013/0.1532, allocations: 0.6133 MB / 494.9 MB, free: 7.605 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.1534, allocations: 116.6 kB / 495 MB, free: 7.473 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.757e-05/0.1534, allocations: 0 / 495 MB, free: 7.473 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002685/0.1537, allocations: 27.97 kB / 495 MB, free: 7.445 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.833e-05/0.1538, allocations: 19.98 kB / 495 MB, free: 7.426 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/0.1538, allocations: 8 kB / 495 MB, free: 7.418 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004554/0.1543, allocations: 375 kB / 495.4 MB, free: 7.055 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1543, allocations: 0 / 495.4 MB, free: 7.055 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005464/0.1549, allocations: 111.9 kB / 495.5 MB, free: 6.945 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001207/0.1561, allocations: 1.194 MB / 496.7 MB, free: 5.723 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008948/0.157, allocations: 0.5422 MB / 497.3 MB, free: 5.125 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.157, allocations: 0 / 497.3 MB, free: 5.125 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005249/0.1575, allocations: 391.2 kB / 497.6 MB, free: 4.688 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008024/0.1583, allocations: 93.55 kB / 497.7 MB, free: 4.594 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004784/0.1631, allocations: 2.856 MB / 0.4889 GB, free: 1.656 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004401/0.1636, allocations: 0.8422 MB / 0.4897 GB, free: 0.7891 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002109/0.1638, allocations: 67.23 kB / 0.4897 GB, free: 0.7227 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.164, allocations: 111.3 kB / 0.4898 GB, free: 0.6133 MB / 366.1 MB Notification: Performance of SimCode: time 1.253e-06/0.164, allocations: 0 / 0.4898 GB, free: 0.6133 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02182/0.1858, allocations: 10.4 MB / 0.5 GB, free: 6.477 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000172/0.186, allocations: 233.3 kB / 0.5002 GB, free: 6.234 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.897/2.083, allocations: 4 kB / 0.5002 GB, free: 6.23 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat does not exist to compare? outputFormat=mat