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_KC.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_KC,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 96.28 kB / 15.69 MB, free: 480 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.001069/0.001069, allocations: 178.7 kB / 16.57 MB, free: 6.387 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.86/1.86, allocations: 205.4 MB / 222.7 MB, free: 5.672 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.4575/0.4575, allocations: 43.54 MB / 314.5 MB, free: 8.781 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.0005767/0.0005769, allocations: 24 kB / 384 MB, free: 7.906 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1507, allocations: 58.85 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.003054/0.1538, allocations: 1.631 MB / 444.5 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001874/0.1557, allocations: 0.8352 MB / 445.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001615/0.1559, allocations: 0 / 445.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002982/0.1562, allocations: 59.66 kB / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003296/0.1566, allocations: 83.77 kB / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002569/0.1568, allocations: 79.83 kB / 445.6 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003214/0.1572, allocations: 251.4 kB / 445.8 MB, free: 10 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.1573, allocations: 48.97 kB / 445.9 MB, free: 9.953 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002001/0.1575, allocations: 119.4 kB / 446 MB, free: 9.836 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001827/0.1577, allocations: 139.4 kB / 446.1 MB, free: 9.699 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.738e-05/0.1577, allocations: 8 kB / 446.1 MB, free: 9.691 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002769/0.158, allocations: 155.8 kB / 446.3 MB, free: 9.539 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.827e-05/0.1581, allocations: 87.64 kB / 446.3 MB, free: 9.453 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.393e-05/0.1582, allocations: 77.52 kB / 446.4 MB, free: 9.371 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003249/0.1585, allocations: 267.3 kB / 446.7 MB, free: 9.109 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1585, allocations: 0 / 446.7 MB, free: 9.109 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1585, allocations: 0 / 446.7 MB, free: 9.109 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.1585, allocations: 0 / 446.7 MB, free: 9.109 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0009305/0.1595, allocations: 0.5966 MB / 447.3 MB, free: 8.461 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.1595, allocations: 12.03 kB / 447.3 MB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.969e-05/0.1596, allocations: 82.52 kB / 447.4 MB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.92e-05/0.1597, allocations: 43.48 kB / 447.4 MB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003861/0.1601, allocations: 278.4 kB / 447.7 MB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/0.1602, allocations: 25 kB / 447.7 MB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.479e-05/0.1602, allocations: 36 kB / 447.7 MB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008751/0.1611, allocations: 0.5529 MB / 448.3 MB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.1611, allocations: 0 / 448.3 MB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.345e-05/0.1612, allocations: 12 kB / 448.3 MB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.679e-05/0.1613, allocations: 44.97 kB / 448.4 MB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.1623, allocations: 0.5892 MB / 448.9 MB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001925/0.1642, allocations: 1.199 MB / 450.1 MB, free: 5.488 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006525/0.1649, allocations: 380 kB / 450.5 MB, free: 5.109 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.476e-05/0.1649, allocations: 12.11 kB / 450.5 MB, free: 5.098 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.165, allocations: 38.75 kB / 450.6 MB, free: 5.051 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.523e-06/0.165, allocations: 0 / 450.6 MB, free: 5.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=22): time 0.001026/0.166, allocations: 466.5 kB / 451 MB, free: 4.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.1661, allocations: 63.36 kB / 451.1 MB, free: 4.516 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005757/0.1667, allocations: 453.7 kB / 451.5 MB, free: 4.062 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.1667, allocations: 29.64 kB / 451.6 MB, free: 4.027 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.1668, allocations: 192.3 kB / 451.7 MB, free: 3.836 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.873e-05/0.1669, allocations: 78.98 kB / 451.8 MB, free: 3.758 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.42e-05/0.1669, allocations: 0 / 451.8 MB, free: 3.758 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.1671, allocations: 346.8 kB / 452.2 MB, free: 3.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002413/0.1674, allocations: 127.9 kB / 452.3 MB, free: 3.285 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002304/0.1676, allocations: 116.6 kB / 452.4 MB, free: 3.172 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002539/0.1679, allocations: 144.1 kB / 452.5 MB, free: 3.031 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.1679, allocations: 0 / 452.5 MB, free: 3.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006127/0.1685, allocations: 352.9 kB / 452.9 MB, free: 2.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.1685, allocations: 4 kB / 452.9 MB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1686, allocations: 0 / 452.9 MB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.1686, allocations: 0 / 452.9 MB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007453/0.1693, allocations: 159.8 kB / 453 MB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2767/0.446, allocations: 5.506 MB / 458.5 MB, free: 43.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003694/0.4465, allocations: 58.83 kB / 458.6 MB, free: 43.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.129e-05/0.4465, allocations: 10.11 kB / 458.6 MB, free: 43.86 MB / 382.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.0002639/0.4468, allocations: 188.7 kB / 458.8 MB, free: 43.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.544e-05/0.4469, allocations: 34.73 kB / 458.8 MB, free: 43.74 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008469/0.4477, allocations: 471.6 kB / 459.3 MB, free: 43.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.4477, allocations: 2.656 kB / 459.3 MB, free: 43.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.4477, allocations: 0 / 459.3 MB, free: 43.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.4478, allocations: 4.797 kB / 459.3 MB, free: 43.69 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004044/0.4482, allocations: 380.1 kB / 459.7 MB, free: 43.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.4482, allocations: 0 / 459.7 MB, free: 43.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006481/0.4488, allocations: 156 kB / 459.8 MB, free: 43.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-06/0.4488, allocations: 3.484 kB / 459.8 MB, free: 43.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.646e-05/0.4489, allocations: 14.56 kB / 459.8 MB, free: 43.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002074/0.451, allocations: 5.516 MB / 465.4 MB, free: 38.24 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.451, allocations: 0 / 465.4 MB, free: 38.24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006149/0.4516, allocations: 461.2 kB / 465.8 MB, free: 38.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.4517, allocations: 116.5 kB / 465.9 MB, free: 37.97 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.922e-05/0.4518, allocations: 6.781 kB / 465.9 MB, free: 37.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/0.452, allocations: 17.48 kB / 465.9 MB, free: 37.97 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.521e-05/0.4521, allocations: 16.95 kB / 466 MB, free: 37.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.469e-05/0.4521, allocations: 10.58 kB / 466 MB, free: 37.97 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003429/0.4524, allocations: 337.8 kB / 466.3 MB, free: 37.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4524, allocations: 0 / 466.3 MB, free: 37.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004276/0.4529, allocations: 98.86 kB / 466.4 MB, free: 37.89 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.001005/0.4539, allocations: 1.03 MB / 467.4 MB, free: 37.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001141/0.455, allocations: 410.2 kB / 467.8 MB, free: 37.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.4551, allocations: 0 / 467.8 MB, free: 37.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008022/0.4559, allocations: 285 kB / 468.1 MB, free: 37.19 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004428/0.4563, allocations: 85.02 kB / 468.2 MB, free: 37.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003582/0.4599, allocations: 2.621 MB / 470.8 MB, free: 36.49 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.4603, allocations: 0.859 MB / 471.7 MB, free: 35.79 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000241/0.4605, allocations: 79.83 kB / 471.7 MB, free: 35.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000161/0.4607, allocations: 113.6 kB / 471.9 MB, free: 35.78 MB / 382.1 MB Notification: Performance of SimCode: time 1.182e-06/0.4607, allocations: 0 / 471.9 MB, free: 35.78 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02637/0.4871, allocations: 10.24 MB / 482.1 MB, free: 34.92 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000177/0.4873, allocations: 254.9 kB / 482.3 MB, free: 34.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.015/2.503, allocations: 3.938 kB / 482.3 MB, free: 34.58 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.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_KC_res.mat does not exist to compare? outputFormat=mat