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.0009605/0.0009606, allocations: 94.92 kB / 16.98 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009991/0.0009991, allocations: 205.4 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.444/1.444, allocations: 227.3 MB / 245.9 MB, free: 12.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2034/0.2034, allocations: 45.91 MB / 344 MB, free: 12.3 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002973/0.0002974, allocations: 8 kB / 418.1 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1497, allocations: 63.46 MB / 481.5 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.002255/0.152, allocations: 1.724 MB / 483.3 MB, free: 3.531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001574/0.1536, allocations: 1.06 MB / 484.3 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.207e-05/0.1537, allocations: 4 kB / 484.3 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000247/0.154, allocations: 55.72 kB / 484.4 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001678/0.1542, allocations: 63.8 kB / 484.4 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000474/0.1547, allocations: 146.9 kB / 484.6 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004046/0.1551, allocations: 291.3 kB / 484.9 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.1552, allocations: 40.72 kB / 484.9 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002563/0.1555, allocations: 139.3 kB / 485 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002126/0.1557, allocations: 159.3 kB / 485.2 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.467e-05/0.1557, allocations: 8 kB / 485.2 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004206/0.1561, allocations: 219.7 kB / 485.4 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.038e-05/0.1562, allocations: 87.64 kB / 485.5 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.464e-05/0.1563, allocations: 77.52 kB / 485.6 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003669/0.1567, allocations: 315.5 kB / 485.9 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1567, allocations: 0 / 485.9 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1567, allocations: 0 / 485.9 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.1567, allocations: 0 / 485.9 MB, free: 0.8906 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.001025/0.1578, allocations: 0.6434 MB / 486.5 MB, free: 204 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.1578, allocations: 19.95 kB / 486.6 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.895e-05/0.1579, allocations: 86.53 kB / 486.6 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003911/0.1583, allocations: 87.39 kB / 486.7 MB, free: 0 / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004115/0.1587, allocations: 290.7 kB / 487 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.1588, allocations: 25 kB / 487 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.56e-05/0.1588, allocations: 40 kB / 487.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008827/0.1597, allocations: 0.5739 MB / 487.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.1598, allocations: 3.938 kB / 487.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.629e-05/0.1598, allocations: 23.98 kB / 487.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.676e-05/0.1598, allocations: 25 kB / 487.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008189/0.1607, allocations: 447.5 kB / 488.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001839/0.1625, allocations: 1.394 MB / 489.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005372/0.1631, allocations: 279.6 kB / 489.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.527e-05/0.1631, allocations: 8 kB / 489.8 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.1632, allocations: 38.56 kB / 489.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 2.635e-06/0.1632, allocations: 0 / 489.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001343/0.1645, allocations: 0.7215 MB / 490.6 MB, free: 11.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.744e-05/0.1646, allocations: 106.8 kB / 490.7 MB, free: 11.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005662/0.1652, allocations: 0.4978 MB / 491.2 MB, free: 11.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.1652, allocations: 29.7 kB / 491.2 MB, free: 11.26 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.1654, allocations: 204.2 kB / 491.4 MB, free: 11.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.473e-05/0.1655, allocations: 55.19 kB / 491.5 MB, free: 11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.823e-05/0.1655, allocations: 4.109 kB / 491.5 MB, free: 11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.1656, allocations: 354.7 kB / 491.8 MB, free: 10.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003755/0.166, allocations: 140 kB / 491.9 MB, free: 10.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004599/0.1665, allocations: 190.4 kB / 492.1 MB, free: 10.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003438/0.1669, allocations: 155.8 kB / 492.3 MB, free: 10.15 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.1669, allocations: 0 / 492.3 MB, free: 10.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008171/0.1677, allocations: 400.9 kB / 492.7 MB, free: 9.754 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1677, allocations: 4 kB / 492.7 MB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.103e-05/0.1678, allocations: 31.97 kB / 492.7 MB, free: 9.719 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.1678, allocations: 0 / 492.7 MB, free: 9.719 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002308/0.168, allocations: 35.97 kB / 492.7 MB, free: 9.684 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.1681, allocations: 4 kB / 492.7 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002667/0.1683, allocations: 75.33 kB / 492.8 MB, free: 9.605 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.1684, allocations: 12 kB / 492.8 MB, free: 9.594 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.0002008/0.1686, allocations: 186.2 kB / 493 MB, free: 9.402 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.705e-05/0.1687, allocations: 35.53 kB / 493.1 MB, free: 9.367 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007577/0.1694, allocations: 404.5 kB / 493.4 MB, free: 8.965 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.1695, allocations: 4 kB / 493.5 MB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.1695, allocations: 0 / 493.5 MB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.1695, allocations: 0 / 493.5 MB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006202/0.1701, allocations: 369.2 kB / 493.8 MB, free: 8.551 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.166e-05/0.1702, allocations: 27.98 kB / 493.8 MB, free: 8.523 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.1703, allocations: 35.97 kB / 493.9 MB, free: 8.488 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.1704, allocations: 0 / 493.9 MB, free: 8.488 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.893e-05/0.1704, allocations: 11.98 kB / 493.9 MB, free: 8.477 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.1704, allocations: 3.938 kB / 493.9 MB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.1704, allocations: 0 / 493.9 MB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009382/0.1714, allocations: 0.629 MB / 494.5 MB, free: 7.816 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/0.1715, allocations: 116.6 kB / 494.6 MB, free: 7.684 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.034e-05/0.1716, allocations: 4 kB / 494.6 MB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003005/0.1719, allocations: 35.97 kB / 494.7 MB, free: 7.645 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.47e-05/0.172, allocations: 19.94 kB / 494.7 MB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.497e-05/0.172, allocations: 11.98 kB / 494.7 MB, free: 7.613 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004614/0.1725, allocations: 375 kB / 495.1 MB, free: 7.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1725, allocations: 0 / 495.1 MB, free: 7.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005727/0.1731, allocations: 111.9 kB / 495.2 MB, free: 7.141 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.001644/0.1747, allocations: 1.357 MB / 496.5 MB, free: 5.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008579/0.1756, allocations: 0.5303 MB / 497.1 MB, free: 5.164 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1756, allocations: 320 / 497.1 MB, free: 5.164 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004759/0.1761, allocations: 403.7 kB / 497.5 MB, free: 4.715 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005169/0.1766, allocations: 85.8 kB / 497.5 MB, free: 4.629 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00497/0.1816, allocations: 3.553 MB / 0.4894 GB, free: 0.9883 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004132/0.1821, allocations: 0.8539 MB / 0.4902 GB, free: 112 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002096/0.1823, allocations: 63.23 kB / 0.4902 GB, free: 48 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/0.1824, allocations: 107.5 kB / 0.4903 GB, free: 15.94 MB / 382.1 MB Notification: Performance of SimCode: time 1.192e-06/0.1825, allocations: 4 kB / 0.4904 GB, free: 15.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.023/0.2055, allocations: 10.23 MB / 0.5003 GB, free: 5.969 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002026/0.2057, allocations: 226.2 kB / 0.5006 GB, free: 5.727 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.949/2.155, allocations: 0 / 0.5006 GB, free: 5.727 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