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.0007774/0.0007775, allocations: 99.14 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008747/0.0008749, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2216/0.2216, allocations: 45.91 MB / 344.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002433/0.0002434, allocations: 11.94 kB / 418.2 MB, free: 20.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1313, allocations: 63.46 MB / 481.7 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.002509/0.1339, allocations: 1.693 MB / 483.4 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001574/0.1355, allocations: 0.8498 MB / 484.2 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.229e-05/0.1356, allocations: 7.938 kB / 484.2 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002657/0.1359, allocations: 47.73 kB / 484.3 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003265/0.1362, allocations: 103.5 kB / 484.4 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002297/0.1364, allocations: 83.72 kB / 484.4 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004692/0.1369, allocations: 458 kB / 484.9 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.472e-05/0.137, allocations: 36.72 kB / 484.9 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000227/0.1372, allocations: 143.3 kB / 485.1 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002348/0.1375, allocations: 187.2 kB / 485.3 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.882e-05/0.1375, allocations: 8 kB / 485.3 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002678/0.1378, allocations: 147.7 kB / 485.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.819e-05/0.1379, allocations: 91.58 kB / 485.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.997e-05/0.138, allocations: 81.45 kB / 485.6 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003324/0.1383, allocations: 299.4 kB / 485.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1383, allocations: 0 / 485.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1383, allocations: 0 / 485.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.1384, allocations: 4 kB / 485.9 MB, free: 1.012 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.0008873/0.1392, allocations: 0.5927 MB / 486.5 MB, free: 380 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.1393, allocations: 8.031 kB / 486.5 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001053/0.1394, allocations: 86.52 kB / 486.6 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.806e-05/0.1395, allocations: 43.38 kB / 486.6 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003479/0.1398, allocations: 278.5 kB / 486.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.078e-05/0.1399, allocations: 32.98 kB / 486.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.764e-05/0.1399, allocations: 32 kB / 486.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008392/0.1408, allocations: 0.5568 MB / 487.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.1408, allocations: 0 / 487.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.1408, allocations: 19.98 kB / 487.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.553e-05/0.1409, allocations: 36.97 kB / 487.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008621/0.1418, allocations: 0.5853 MB / 488.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001565/0.1434, allocations: 1.179 MB / 489.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006192/0.144, allocations: 372.2 kB / 489.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00025/0.1442, allocations: 149 kB / 489.8 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.663e-05/0.1443, allocations: 4.172 kB / 489.8 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.1443, allocations: 38.73 kB / 489.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.373e-06/0.1443, allocations: 0 / 489.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009591/0.1453, allocations: 485.3 kB / 490.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.1453, allocations: 51.41 kB / 490.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004484/0.1458, allocations: 449.6 kB / 490.8 MB, free: 11.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.1458, allocations: 29.7 kB / 490.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.146, allocations: 192.3 kB / 491 MB, free: 11.63 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.121e-05/0.146, allocations: 70.92 kB / 491.1 MB, free: 11.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.126e-05/0.1461, allocations: 4 kB / 491.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.1462, allocations: 354.8 kB / 491.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002408/0.1464, allocations: 123.8 kB / 491.6 MB, free: 11.08 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/0.1467, allocations: 131.8 kB / 491.7 MB, free: 10.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002474/0.1469, allocations: 131.9 kB / 491.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1469, allocations: 0 / 491.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005796/0.1475, allocations: 352.6 kB / 492.2 MB, free: 10.47 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.1476, allocations: 4 kB / 492.2 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.1476, allocations: 3.984 kB / 492.2 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.1476, allocations: 4 kB / 492.2 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000716/0.1483, allocations: 155.9 kB / 492.3 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002723/0.1511, allocations: 5.524 MB / 497.9 MB, free: 4.574 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.1513, allocations: 43.38 kB / 497.9 MB, free: 4.531 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.024e-05/0.1513, allocations: 19.94 kB / 497.9 MB, free: 4.512 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.0002014/0.1515, allocations: 193.8 kB / 498.1 MB, free: 4.312 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.762e-05/0.1516, allocations: 39.52 kB / 498.2 MB, free: 4.273 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009063/0.1525, allocations: 460.6 kB / 498.6 MB, free: 3.812 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/0.1525, allocations: 0 / 498.6 MB, free: 3.812 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.1525, allocations: 7.984 kB / 498.6 MB, free: 3.805 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1525, allocations: 3.938 kB / 498.6 MB, free: 3.801 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005089/0.1531, allocations: 385.2 kB / 499 MB, free: 3.375 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1531, allocations: 0 / 499 MB, free: 3.375 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006423/0.1537, allocations: 155.9 kB / 499.1 MB, free: 3.223 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.1537, allocations: 4 kB / 499.2 MB, free: 3.219 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/0.1538, allocations: 11.98 kB / 499.2 MB, free: 3.207 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002681/0.1564, allocations: 5.516 MB / 0.4929 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.1565, allocations: 0 / 0.4929 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006742/0.1571, allocations: 463 kB / 0.4933 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.1573, allocations: 116.7 kB / 0.4934 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.233e-05/0.1573, allocations: 4 kB / 0.4934 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.1575, allocations: 11.98 kB / 0.4934 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.369e-05/0.1576, allocations: 23.98 kB / 0.4934 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.376e-05/0.1576, allocations: 11.98 kB / 0.4935 GB, free: 12.83 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003758/0.158, allocations: 335.1 kB / 0.4938 GB, free: 12.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.158, allocations: 0 / 0.4938 GB, free: 12.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004123/0.1584, allocations: 99.84 kB / 0.4939 GB, free: 12.41 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.001179/0.1596, allocations: 1.032 MB / 0.4949 GB, free: 11.35 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001092/0.1607, allocations: 407.6 kB / 0.4953 GB, free: 10.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.1607, allocations: 4 kB / 0.4953 GB, free: 10.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007549/0.1615, allocations: 275.7 kB / 0.4955 GB, free: 10.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004937/0.162, allocations: 93.42 kB / 0.4956 GB, free: 10.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003663/0.1657, allocations: 2.672 MB / 0.4982 GB, free: 7.863 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004467/0.1661, allocations: 0.8425 MB / 0.4991 GB, free: 6.992 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000245/0.1664, allocations: 91.2 kB / 0.4991 GB, free: 6.906 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.1665, allocations: 111.4 kB / 0.4992 GB, free: 6.801 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1665, allocations: 0 / 0.4992 GB, free: 6.801 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2641/0.4306, allocations: 10.41 MB / 0.5094 GB, free: 43 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002183/0.4309, allocations: 261.6 kB / 0.5097 GB, free: 42.64 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.042/2.473, allocations: 3.516 kB / 0.5097 GB, free: 42.64 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