Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 97.53 kB / 15.69 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 177.9 kB / 16.57 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.684/1.684, allocations: 205.4 MB / 222.7 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5126/0.5126, allocations: 43.54 MB / 314.5 MB, free: 9.012 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005401/0.0005401, allocations: 16 kB / 384 MB, free: 8.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1608, allocations: 58.86 MB / 442.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.002693/0.1635, allocations: 1.712 MB / 444.6 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001843/0.1654, allocations: 1.061 MB / 445.6 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.1655, allocations: 0 / 445.6 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002947/0.1658, allocations: 47.73 kB / 445.7 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002057/0.166, allocations: 67.8 kB / 445.8 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004995/0.1665, allocations: 147.6 kB / 445.9 MB, free: 10.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003876/0.1669, allocations: 287.3 kB / 446.2 MB, free: 9.852 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.1671, allocations: 48.98 kB / 446.2 MB, free: 9.805 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002596/0.1673, allocations: 143.3 kB / 446.4 MB, free: 9.664 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000235/0.1676, allocations: 147.4 kB / 446.5 MB, free: 9.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.695e-05/0.1676, allocations: 12 kB / 446.5 MB, free: 9.508 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004452/0.1681, allocations: 211.7 kB / 446.7 MB, free: 9.301 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.1682, allocations: 87.64 kB / 446.8 MB, free: 9.215 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.626e-05/0.1683, allocations: 77.52 kB / 446.9 MB, free: 9.133 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004903/0.1688, allocations: 307.2 kB / 447.2 MB, free: 8.832 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1688, allocations: 0 / 447.2 MB, free: 8.832 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1688, allocations: 0 / 447.2 MB, free: 8.832 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.1689, allocations: 4 kB / 447.2 MB, free: 8.828 MB / 382.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.001389/0.1703, allocations: 0.655 MB / 447.8 MB, free: 8.121 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.533e-05/0.1703, allocations: 16.02 kB / 447.9 MB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001124/0.1705, allocations: 86.5 kB / 447.9 MB, free: 8.012 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.737e-05/0.1706, allocations: 43.48 kB / 448 MB, free: 7.969 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004961/0.1711, allocations: 286 kB / 448.3 MB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.538e-05/0.1711, allocations: 32.98 kB / 448.3 MB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.981e-05/0.1712, allocations: 36 kB / 448.3 MB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.1722, allocations: 0.5856 MB / 448.9 MB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.1723, allocations: 3.938 kB / 448.9 MB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.853e-05/0.1723, allocations: 16 kB / 448.9 MB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.4e-05/0.1724, allocations: 20.94 kB / 449 MB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008829/0.1733, allocations: 459.6 kB / 449.4 MB, free: 6.488 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002269/0.1755, allocations: 1.387 MB / 450.8 MB, free: 5.035 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006437/0.1762, allocations: 283.6 kB / 451.1 MB, free: 4.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.001e-05/0.1763, allocations: 7.984 kB / 451.1 MB, free: 4.723 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/0.1763, allocations: 38.52 kB / 451.1 MB, free: 4.676 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 2.495e-06/0.1763, allocations: 3.938 kB / 451.1 MB, free: 4.672 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001568/0.1779, allocations: 0.7151 MB / 451.8 MB, free: 3.895 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.864e-05/0.178, allocations: 106.8 kB / 451.9 MB, free: 3.766 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006613/0.1787, allocations: 0.498 MB / 452.4 MB, free: 3.258 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/0.1787, allocations: 25.7 kB / 452.5 MB, free: 3.227 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002032/0.1789, allocations: 212.2 kB / 452.7 MB, free: 3.016 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.232e-05/0.179, allocations: 55.11 kB / 452.7 MB, free: 2.961 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.082e-05/0.179, allocations: 8 kB / 452.7 MB, free: 2.953 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.1792, allocations: 350.8 kB / 453.1 MB, free: 2.602 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003347/0.1796, allocations: 140 kB / 453.2 MB, free: 2.465 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000373/0.18, allocations: 181.4 kB / 453.4 MB, free: 2.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003621/0.1803, allocations: 159.6 kB / 453.5 MB, free: 2.117 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.1803, allocations: 4 kB / 453.6 MB, free: 2.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008731/0.1812, allocations: 396.9 kB / 453.9 MB, free: 1.719 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.1813, allocations: 8.156 kB / 453.9 MB, free: 1.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.204e-05/0.1814, allocations: 35.92 kB / 454 MB, free: 1.676 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.1814, allocations: 4 kB / 454 MB, free: 1.672 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002438/0.1816, allocations: 39.97 kB / 454 MB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.1817, allocations: 0 / 454 MB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000299/0.182, allocations: 75.34 kB / 454.1 MB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.169e-05/0.182, allocations: 12 kB / 454.1 MB, free: 1.547 MB / 382.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.0002365/0.1822, allocations: 185.7 kB / 454.3 MB, free: 1.355 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.94e-05/0.1823, allocations: 35.53 kB / 454.3 MB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008165/0.1832, allocations: 396.6 kB / 454.7 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.1832, allocations: 11.89 kB / 454.7 MB, free: 0.918 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.1832, allocations: 4 kB / 454.7 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.1832, allocations: 0 / 454.7 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000582/0.1838, allocations: 357.4 kB / 455.1 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.923e-05/0.1839, allocations: 31.97 kB / 455.1 MB, free: 496 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001564/0.184, allocations: 31.97 kB / 455.1 MB, free: 464 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.1841, allocations: 4 kB / 455.1 MB, free: 460 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.756e-05/0.1841, allocations: 11.98 kB / 455.2 MB, free: 448 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.1841, allocations: 0 / 455.2 MB, free: 448 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.1841, allocations: 7.953 kB / 455.2 MB, free: 440 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3071/0.4913, allocations: 0.6105 MB / 455.8 MB, free: 46.28 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001833/0.4915, allocations: 124 kB / 455.9 MB, free: 46.19 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.024e-05/0.4916, allocations: 4.75 kB / 455.9 MB, free: 46.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003595/0.492, allocations: 26.44 kB / 455.9 MB, free: 46.19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.731e-05/0.4921, allocations: 22.25 kB / 455.9 MB, free: 46.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/0.4921, allocations: 10.42 kB / 456 MB, free: 46.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004483/0.4926, allocations: 374.8 kB / 456.3 MB, free: 46.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4926, allocations: 0 / 456.3 MB, free: 46.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005893/0.4932, allocations: 109.8 kB / 456.4 MB, free: 46.11 MB / 382.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.001342/0.4945, allocations: 1.359 MB / 457.8 MB, free: 45.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00089/0.4954, allocations: 0.5357 MB / 458.3 MB, free: 44.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.4954, allocations: 0 / 458.3 MB, free: 44.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004356/0.4959, allocations: 398.9 kB / 458.7 MB, free: 44.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005339/0.4964, allocations: 88.75 kB / 458.8 MB, free: 44.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004163/0.5006, allocations: 3.551 MB / 462.4 MB, free: 43.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.5009, allocations: 0.8573 MB / 463.2 MB, free: 42.4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001637/0.5011, allocations: 65.41 kB / 463.3 MB, free: 42.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.5012, allocations: 105.2 kB / 463.4 MB, free: 42.39 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.5012, allocations: 0 / 463.4 MB, free: 42.39 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02224/0.5235, allocations: 10.25 MB / 473.6 MB, free: 41.54 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001863/0.5237, allocations: 219.1 kB / 473.8 MB, free: 41.31 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.019/2.542, allocations: 0 / 473.8 MB, free: 41.31 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat does not exist to compare? outputFormat=mat