Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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/Complex 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.596/1.596, allocations: 221.3 MB / 236 MB, free: 2.961 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008665/0.0008663, allocations: 87.67 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2148/0.2148, allocations: 44.16 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.754e-05/4.776e-05, allocations: 8.156 kB / 451.9 MB, free: 9.309 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1488, allocations: 61.91 MB / 0.5018 GB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5076/0.6564, allocations: 92.97 MB / 0.5926 GB, free: 12.27 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/0.6568, allocations: 103.9 kB / 0.5927 GB, free: 12.17 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02727/0.6841, allocations: 9.754 MB / 0.6022 GB, free: 2.262 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.6841, allocations: 4 kB / 0.6022 GB, free: 2.258 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.117e-05/0.6841, allocations: 8 kB / 0.6022 GB, free: 2.25 MB / 410.7 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.0008523/0.685, allocations: 0.5568 MB / 0.6028 GB, free: 1.645 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.6851, allocations: 11.97 kB / 0.6028 GB, free: 1.633 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001146/0.6852, allocations: 90.52 kB / 0.6029 GB, free: 1.535 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.777e-05/0.6853, allocations: 39.53 kB / 0.6029 GB, free: 1.496 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004548/0.6857, allocations: 277.7 kB / 0.6032 GB, free: 1.188 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.194e-05/0.6858, allocations: 32.78 kB / 0.6032 GB, free: 1.156 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.101e-05/0.6858, allocations: 43.89 kB / 0.6033 GB, free: 1.113 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008204/0.6867, allocations: 0.5124 MB / 0.6038 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.6867, allocations: 4 kB / 0.6038 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.974e-05/0.6867, allocations: 12 kB / 0.6038 GB, free: 0.5781 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-05/0.6868, allocations: 32.98 kB / 0.6038 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009004/0.6877, allocations: 0.5425 MB / 0.6043 GB, free: 4 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001998/0.6897, allocations: 1.191 MB / 0.6055 GB, free: 14.76 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005685/0.6903, allocations: 372.1 kB / 0.6059 GB, free: 14.39 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/0.6905, allocations: 124.1 kB / 0.606 GB, free: 14.27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.31e-05/0.6906, allocations: 8.172 kB / 0.606 GB, free: 14.26 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.6906, allocations: 34.75 kB / 0.606 GB, free: 14.21 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 2.335e-06/0.6906, allocations: 0 / 0.606 GB, free: 14.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007003/0.6913, allocations: 314.6 kB / 0.6063 GB, free: 13.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.922e-05/0.6914, allocations: 51.41 kB / 0.6064 GB, free: 13.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005309/0.6919, allocations: 399.5 kB / 0.6067 GB, free: 13.44 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.408e-05/0.692, allocations: 33.7 kB / 0.6068 GB, free: 13.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/0.6922, allocations: 192.3 kB / 0.607 GB, free: 13.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.61e-05/0.6922, allocations: 70.92 kB / 0.607 GB, free: 13.13 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.721e-05/0.6923, allocations: 4 kB / 0.607 GB, free: 13.13 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002086/0.6925, allocations: 354.7 kB / 0.6074 GB, free: 12.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.6927, allocations: 95.91 kB / 0.6075 GB, free: 12.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.6928, allocations: 107.9 kB / 0.6076 GB, free: 12.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001925/0.693, allocations: 115.2 kB / 0.6077 GB, free: 12.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.6931, allocations: 0 / 0.6077 GB, free: 12.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004989/0.6936, allocations: 317 kB / 0.608 GB, free: 12.15 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.6936, allocations: 5.094 kB / 0.608 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.6936, allocations: 0 / 0.608 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.6936, allocations: 0 / 0.608 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008118/0.6944, allocations: 155.8 kB / 0.6081 GB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003112/0.6976, allocations: 5.52 MB / 0.6135 GB, free: 6.262 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00027/0.6979, allocations: 51.39 kB / 0.6136 GB, free: 6.211 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.542e-05/0.6979, allocations: 8 kB / 0.6136 GB, free: 6.203 MB / 426.7 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 () * 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.000109/0.698, allocations: 119 kB / 0.6137 GB, free: 6.082 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.36e-05/0.6981, allocations: 39.67 kB / 0.6137 GB, free: 6.043 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007585/0.6988, allocations: 420.3 kB / 0.6141 GB, free: 5.625 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.6989, allocations: 0 / 0.6141 GB, free: 5.625 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.413e-06/0.6989, allocations: 4 kB / 0.6141 GB, free: 5.621 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.6989, allocations: 3.984 kB / 0.6141 GB, free: 5.617 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005278/0.6994, allocations: 381.2 kB / 0.6145 GB, free: 5.195 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.6994, allocations: 0 / 0.6145 GB, free: 5.195 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007418/0.7002, allocations: 155.8 kB / 0.6146 GB, free: 5.043 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.237e-06/0.7002, allocations: 7.953 kB / 0.6147 GB, free: 5.035 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.411e-05/0.7002, allocations: 11.98 kB / 0.6147 GB, free: 5.023 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00304/0.7033, allocations: 5.516 MB / 0.6201 GB, free: 15.3 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.7033, allocations: 4.062 kB / 0.6201 GB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005936/0.7039, allocations: 417.1 kB / 0.6205 GB, free: 14.87 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/0.7041, allocations: 112.7 kB / 0.6206 GB, free: 14.74 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.182e-05/0.7041, allocations: 4 kB / 0.6206 GB, free: 14.74 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.7043, allocations: 11.98 kB / 0.6206 GB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.949e-05/0.7044, allocations: 19.97 kB / 0.6206 GB, free: 14.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.823e-05/0.7045, allocations: 12 kB / 0.6206 GB, free: 14.7 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003795/0.7048, allocations: 330.1 kB / 0.6209 GB, free: 14.38 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7049, allocations: 0 / 0.6209 GB, free: 14.38 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004831/0.7053, allocations: 111.8 kB / 0.621 GB, free: 14.27 MB / 442.7 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 () * 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.001104/0.7065, allocations: 1.031 MB / 0.622 GB, free: 13.22 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00104/0.7075, allocations: 339.6 kB / 0.6224 GB, free: 12.89 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.7075, allocations: 4 kB / 0.6224 GB, free: 12.88 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007489/0.7083, allocations: 231.7 kB / 0.6226 GB, free: 12.66 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004919/0.7088, allocations: 77.23 kB / 0.6227 GB, free: 12.58 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.7104, allocations: 0.6923 MB / 0.6233 GB, free: 11.85 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005593/0.7109, allocations: 0.8542 MB / 0.6242 GB, free: 10.97 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002536/0.7112, allocations: 83.2 kB / 0.6242 GB, free: 10.88 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000258/0.7115, allocations: 111.4 kB / 0.6244 GB, free: 10.77 MB / 442.7 MB Notification: Performance of SimCode: time 1.853e-06/0.7115, allocations: 0 / 0.6244 GB, free: 10.77 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02757/0.739, allocations: 10.71 MB / 0.6348 GB, free: 332 kB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002226/0.7393, allocations: 220.9 kB / 0.635 GB, free: 104 kB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.217/2.956, allocations: 0 / 0.635 GB, free: 104 kB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat