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.001527/0.001526, allocations: 173 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 221.5 MB / 230.7 MB, free: 7.566 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.0009769/0.000977, allocations: 109.6 kB / 281.6 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2579/0.2579, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.877e-05/1.879e-05, allocations: 224 / 444.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1399, allocations: 61.91 MB / 0.4948 GB, free: 1.137 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.433/0.573, allocations: 92.3 MB / 0.5849 GB, free: 4.012 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/0.5733, allocations: 91.94 kB / 0.585 GB, free: 3.922 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02659/0.5999, allocations: 9.631 MB / 0.5944 GB, free: 10.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.5999, allocations: 0 / 0.5944 GB, free: 10.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.562e-05/0.5999, allocations: 8 kB / 0.5944 GB, free: 10.14 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.0007859/0.6007, allocations: 0.5645 MB / 0.595 GB, free: 9.527 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.6008, allocations: 11.98 kB / 0.595 GB, free: 9.516 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.487e-05/0.6009, allocations: 39.53 kB / 0.595 GB, free: 9.477 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003704/0.6012, allocations: 274.5 kB / 0.5953 GB, free: 9.168 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.6013, allocations: 16 kB / 0.5953 GB, free: 9.152 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.792e-05/0.6013, allocations: 20 kB / 0.5953 GB, free: 9.133 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006294/0.602, allocations: 497.7 kB / 0.5958 GB, free: 8.641 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006383/0.6026, allocations: 473.1 kB / 0.5962 GB, free: 8.172 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.6026, allocations: 3.984 kB / 0.5962 GB, free: 8.168 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.838e-05/0.6027, allocations: 0 / 0.5962 GB, free: 8.168 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.524e-05/0.6027, allocations: 29.3 kB / 0.5963 GB, free: 8.141 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001608/0.6043, allocations: 1.054 MB / 0.5973 GB, free: 7.039 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005621/0.6049, allocations: 411.8 kB / 0.5977 GB, free: 6.629 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001864/0.6051, allocations: 137.2 kB / 0.5978 GB, free: 6.492 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.83e-05/0.6051, allocations: 8.219 kB / 0.5978 GB, free: 6.484 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.6052, allocations: 38.8 kB / 0.5979 GB, free: 6.438 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.403e-06/0.6052, allocations: 0 / 0.5979 GB, free: 6.438 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0005707/0.6058, allocations: 328.4 kB / 0.5982 GB, free: 6.113 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.6058, allocations: 55.41 kB / 0.5982 GB, free: 6.047 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.6059, allocations: 138.3 kB / 0.5984 GB, free: 5.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.606, allocations: 25.7 kB / 0.5984 GB, free: 5.879 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.6061, allocations: 200.1 kB / 0.5986 GB, free: 5.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.753e-05/0.6062, allocations: 90.66 kB / 0.5987 GB, free: 5.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.523e-05/0.6062, allocations: 0 / 0.5987 GB, free: 5.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.6063, allocations: 334.8 kB / 0.599 GB, free: 5.254 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001721/0.6065, allocations: 115.9 kB / 0.5991 GB, free: 5.141 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.6067, allocations: 120.1 kB / 0.5992 GB, free: 5.023 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.6069, allocations: 131.8 kB / 0.5993 GB, free: 4.895 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.6069, allocations: 0 / 0.5993 GB, free: 4.895 MB / 410.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004796/0.6074, allocations: 325.2 kB / 0.5997 GB, free: 4.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.6074, allocations: 9.234 kB / 0.5997 GB, free: 4.562 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.6074, allocations: 0 / 0.5997 GB, free: 4.562 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.6075, allocations: 7.938 kB / 0.5997 GB, free: 4.555 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000811/0.6083, allocations: 163.8 kB / 0.5998 GB, free: 4.395 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002843/0.6111, allocations: 5.54 MB / 0.6052 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001955/0.6113, allocations: 23.94 kB / 0.6053 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.131e-05/0.6114, allocations: 11.98 kB / 0.6053 GB, free: 14.61 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 (28): * Single equations (assignments): 19 * 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.0001184/0.6115, allocations: 112.9 kB / 0.6054 GB, free: 14.49 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005289/0.612, allocations: 333.8 kB / 0.6057 GB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.468e-05/0.6121, allocations: 15.81 kB / 0.6057 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007262/0.6128, allocations: 431 kB / 0.6061 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.6128, allocations: 4 kB / 0.6061 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.6129, allocations: 0 / 0.6061 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.6129, allocations: 4 kB / 0.6061 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004884/0.6134, allocations: 349.7 kB / 0.6065 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.6134, allocations: 0 / 0.6065 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007384/0.6141, allocations: 151.8 kB / 0.6066 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.6141, allocations: 0 / 0.6066 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.602e-05/0.6142, allocations: 7.984 kB / 0.6066 GB, free: 13.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002898/0.6171, allocations: 5.547 MB / 0.612 GB, free: 7.414 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.6171, allocations: 0 / 0.612 GB, free: 7.414 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005258/0.6176, allocations: 435.3 kB / 0.6124 GB, free: 6.973 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.562e-05/0.6177, allocations: 92.86 kB / 0.6125 GB, free: 6.863 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.806e-05/0.6177, allocations: 4 kB / 0.6125 GB, free: 6.859 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.6179, allocations: 7.984 kB / 0.6125 GB, free: 6.852 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.24e-05/0.618, allocations: 23.97 kB / 0.6126 GB, free: 6.828 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.679e-05/0.618, allocations: 11.98 kB / 0.6126 GB, free: 6.816 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.597e-05/0.6181, allocations: 107.3 kB / 0.6127 GB, free: 6.711 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6181, allocations: 0 / 0.6127 GB, free: 6.711 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005044/0.6186, allocations: 131.5 kB / 0.6128 GB, free: 6.582 MB / 426.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 (28): * Single equations (assignments): 19 * 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.001066/0.6197, allocations: 1.043 MB / 0.6138 GB, free: 5.516 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009649/0.6207, allocations: 375.5 kB / 0.6142 GB, free: 5.148 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.6207, allocations: 8 kB / 0.6142 GB, free: 5.141 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000692/0.6214, allocations: 235.7 kB / 0.6144 GB, free: 4.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.6217, allocations: 19.84 kB / 0.6144 GB, free: 4.891 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.6229, allocations: 0.6509 MB / 0.6151 GB, free: 4.203 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004064/0.6233, allocations: 0.8689 MB / 0.6159 GB, free: 3.305 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001674/0.6235, allocations: 61.78 kB / 0.616 GB, free: 3.242 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.6237, allocations: 107.4 kB / 0.6161 GB, free: 3.137 MB / 426.7 MB Notification: Performance of SimCode: time 2.91e-07/0.6237, allocations: 0 / 0.6161 GB, free: 3.137 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02535/0.6491, allocations: 6.316 MB / 0.6223 GB, free: 12.84 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001897/0.6493, allocations: 191.8 kB / 0.6224 GB, free: 12.65 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.788/2.438, allocations: 4 kB / 0.6224 GB, free: 12.64 MB / 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