Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,fileNamePrefix="ModelicaTest_3_2_3_cpp_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_cpp_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/Complex 3.2.3+maint.om/package.mo): time 0.00264/0.002646, allocations: 184.6 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.185/2.185, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001194/0.001194, allocations: 105.4 kB / 270.9 MB, free: 8.348 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5546/0.5546, allocations: 43.56 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000473/0.0004731, allocations: 12 kB / 431.5 MB, free: 6.027 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1422, allocations: 58.84 MB / 490.3 MB, free: 11.1 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.003232/0.1455, allocations: 1.703 MB / 492 MB, free: 9.383 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002419/0.148, allocations: 1.061 MB / 493.1 MB, free: 8.312 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.1481, allocations: 4 kB / 493.1 MB, free: 8.309 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003123/0.1485, allocations: 55.7 kB / 493.2 MB, free: 8.254 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000254/0.1487, allocations: 67.8 kB / 493.2 MB, free: 8.188 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006423/0.1494, allocations: 139.6 kB / 493.4 MB, free: 8.051 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000534/0.1499, allocations: 291.3 kB / 493.7 MB, free: 7.766 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.1501, allocations: 48.7 kB / 493.7 MB, free: 7.719 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002587/0.1503, allocations: 131.4 kB / 493.8 MB, free: 7.59 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002828/0.1506, allocations: 151.4 kB / 494 MB, free: 7.441 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.542e-05/0.1507, allocations: 11.94 kB / 494 MB, free: 7.43 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006112/0.1513, allocations: 211.7 kB / 494.2 MB, free: 7.223 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.1515, allocations: 83.7 kB / 494.3 MB, free: 7.141 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.1516, allocations: 85.45 kB / 494.4 MB, free: 7.051 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006287/0.1522, allocations: 307.5 kB / 494.7 MB, free: 6.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1523, allocations: 8 kB / 494.7 MB, free: 6.742 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1523, allocations: 0 / 494.7 MB, free: 6.742 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.1523, allocations: 0 / 494.7 MB, free: 6.742 MB / 378.7 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.001717/0.154, allocations: 0.655 MB / 495.3 MB, free: 6.035 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.1541, allocations: 8.031 kB / 495.3 MB, free: 6.027 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001415/0.1542, allocations: 82.52 kB / 495.4 MB, free: 5.938 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.1544, allocations: 43.48 kB / 495.5 MB, free: 5.895 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005275/0.1549, allocations: 290.2 kB / 495.7 MB, free: 5.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.985e-05/0.155, allocations: 29 kB / 495.8 MB, free: 5.543 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.1551, allocations: 36 kB / 495.8 MB, free: 5.508 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/0.1566, allocations: 0.5778 MB / 496.4 MB, free: 4.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.1567, allocations: 0 / 496.4 MB, free: 4.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.916e-05/0.1568, allocations: 20 kB / 496.4 MB, free: 4.891 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.892e-05/0.1568, allocations: 24.94 kB / 496.4 MB, free: 4.867 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001492/0.1583, allocations: 455.5 kB / 496.9 MB, free: 4.422 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003051/0.1614, allocations: 1.394 MB / 498.3 MB, free: 2.961 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009521/0.1624, allocations: 291.6 kB / 498.5 MB, free: 2.648 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.02e-05/0.1625, allocations: 4 kB / 498.6 MB, free: 2.645 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.463e-05/0.1625, allocations: 42.52 kB / 498.6 MB, free: 2.594 MB / 378.7 MB Notification: Performance of pre-optimization done (n=17): time 3.677e-06/0.1625, allocations: 3.938 kB / 498.6 MB, free: 2.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.002304/0.1648, allocations: 0.7188 MB / 499.3 MB, free: 1.812 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.897e-05/0.1649, allocations: 102.8 kB / 499.4 MB, free: 1.688 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009419/0.1659, allocations: 0.494 MB / 499.9 MB, free: 1.184 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.524e-05/0.166, allocations: 33.7 kB / 499.9 MB, free: 1.145 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000208/0.1662, allocations: 230.7 kB / 0.4884 GB, free: 0.9141 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.54e-05/0.1663, allocations: 67.08 kB / 0.4885 GB, free: 0.8477 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.051e-05/0.1663, allocations: 4 kB / 0.4885 GB, free: 0.8438 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.1665, allocations: 314.8 kB / 0.4888 GB, free: 0.5273 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006192/0.1671, allocations: 140 kB / 0.4889 GB, free: 400 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006458/0.1678, allocations: 181.4 kB / 0.4891 GB, free: 200 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006539/0.1685, allocations: 155.8 kB / 0.4893 GB, free: 44 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.1685, allocations: 0 / 0.4893 GB, free: 44 kB / 378.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.3331/0.5016, allocations: 363.4 kB / 0.4896 GB, free: 42.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.056e-05/0.5017, allocations: 5.781 kB / 0.4896 GB, free: 42.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001099/0.5018, allocations: 33.11 kB / 0.4897 GB, free: 42.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/0.5019, allocations: 2.781 kB / 0.4897 GB, free: 42.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004985/0.5024, allocations: 40.31 kB / 0.4897 GB, free: 42.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.672e-05/0.5024, allocations: 6.766 kB / 0.4897 GB, free: 42.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/0.5039, allocations: 64.25 kB / 0.4898 GB, free: 42.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/0.504, allocations: 13.09 kB / 0.4898 GB, free: 42.98 MB / 378.7 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.0005051/0.5046, allocations: 187.5 kB / 0.49 GB, free: 42.87 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/0.5047, allocations: 40.88 kB / 0.49 GB, free: 42.87 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001422/0.5062, allocations: 397.3 kB / 0.4904 GB, free: 42.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/0.5062, allocations: 4.344 kB / 0.4904 GB, free: 42.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.5062, allocations: 6.359 kB / 0.4904 GB, free: 42.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.5062, allocations: 1.766 kB / 0.4904 GB, free: 42.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000954/0.5072, allocations: 360.5 kB / 0.4907 GB, free: 42.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001414/0.5074, allocations: 29.52 kB / 0.4908 GB, free: 42.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003883/0.5078, allocations: 28.97 kB / 0.4908 GB, free: 42.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.063e-05/0.5078, allocations: 5.781 kB / 0.4908 GB, free: 42.64 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-05/0.5079, allocations: 14.55 kB / 0.4908 GB, free: 42.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.055e-05/0.5079, allocations: 5.359 kB / 0.4908 GB, free: 42.63 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.5079, allocations: 3.062 kB / 0.4908 GB, free: 42.63 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001961/0.5099, allocations: 0.6152 MB / 0.4914 GB, free: 42.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002553/0.5102, allocations: 124 kB / 0.4915 GB, free: 42.19 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/0.5103, allocations: 7.734 kB / 0.4915 GB, free: 42.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007555/0.5111, allocations: 22.83 kB / 0.4916 GB, free: 42.19 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001733/0.5113, allocations: 22.3 kB / 0.4916 GB, free: 42.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.49e-05/0.5114, allocations: 12.61 kB / 0.4916 GB, free: 42.19 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001007/0.5124, allocations: 370.3 kB / 0.4919 GB, free: 42.11 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.673e-06/0.5124, allocations: 0 / 0.4919 GB, free: 42.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001222/0.5137, allocations: 113.5 kB / 0.4921 GB, free: 42.11 MB / 378.7 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.002739/0.5164, allocations: 1.362 MB / 0.4934 GB, free: 41.11 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002021/0.5185, allocations: 0.5342 MB / 0.4939 GB, free: 40.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.5185, allocations: 0 / 0.4939 GB, free: 40.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001061/0.5196, allocations: 400 kB / 0.4943 GB, free: 40.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/0.5209, allocations: 87.83 kB / 0.4944 GB, free: 40.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/0.5314, allocations: 3.57 MB / 0.4979 GB, free: 38.99 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005646/0.532, allocations: 0.8548 MB / 0.4987 GB, free: 38.28 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003531/0.5324, allocations: 109.6 kB / 0.4988 GB, free: 38.27 MB / 378.7 MB Notification: Performance of SimCode: time 1.202e-06/0.5324, allocations: 0 / 0.4988 GB, free: 38.27 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.645/3.178, allocations: 8.725 MB / 0.5073 GB, free: 37.62 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat does not exist to compare? outputFormat=mat