Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001492/0.001492, allocations: 198.6 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.513/1.513, allocations: 227.2 MB / 245 MB, free: 5.863 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009649/0.0009649, allocations: 105.1 kB / 297.3 MB, free: 5.965 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3951/0.3951, allocations: 45.24 MB / 394.7 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000378/0.0003779, allocations: 8 kB / 468.5 MB, free: 7.598 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.417/0.4174, allocations: 63.25 MB / 0.5193 GB, free: 37.52 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1598/0.5773, allocations: 94.1 MB / 0.6112 GB, free: 9.312 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005097/0.5779, allocations: 99.89 kB / 0.6113 GB, free: 9.219 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03876/0.6167, allocations: 9.814 MB / 0.6209 GB, free: 15.23 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.6167, allocations: 0 / 0.6209 GB, free: 15.23 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.6168, allocations: 4 kB / 0.6209 GB, free: 15.23 MB / 442.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.00131/0.6181, allocations: 0.5849 MB / 0.6214 GB, free: 14.59 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.741e-05/0.6182, allocations: 16.03 kB / 0.6215 GB, free: 14.57 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001906/0.6184, allocations: 78.53 kB / 0.6215 GB, free: 14.49 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.6185, allocations: 39.53 kB / 0.6216 GB, free: 14.45 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006458/0.6192, allocations: 286.3 kB / 0.6218 GB, free: 14.13 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.416e-05/0.6193, allocations: 25 kB / 0.6219 GB, free: 14.11 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.23e-05/0.6194, allocations: 36 kB / 0.6219 GB, free: 14.07 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001377/0.6207, allocations: 0.5412 MB / 0.6224 GB, free: 13.52 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.6208, allocations: 3.984 kB / 0.6224 GB, free: 13.52 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.775e-05/0.6209, allocations: 23.98 kB / 0.6225 GB, free: 13.5 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-05/0.6209, allocations: 28.98 kB / 0.6225 GB, free: 13.47 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00144/0.6224, allocations: 0.5737 MB / 0.623 GB, free: 12.89 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002888/0.6253, allocations: 1.195 MB / 0.6242 GB, free: 11.64 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009321/0.6262, allocations: 381 kB / 0.6246 GB, free: 11.27 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.793e-05/0.6263, allocations: 12.17 kB / 0.6246 GB, free: 11.25 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.6264, allocations: 34.75 kB / 0.6246 GB, free: 11.21 MB / 442.7 MB Notification: Performance of pre-optimization done (n=22): time 3.406e-06/0.6264, allocations: 0 / 0.6246 GB, free: 11.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=22): time 0.00147/0.6279, allocations: 480.4 kB / 0.6251 GB, free: 10.74 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.6279, allocations: 51.41 kB / 0.6251 GB, free: 10.68 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006728/0.6286, allocations: 408.8 kB / 0.6255 GB, free: 10.27 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/0.6287, allocations: 25.7 kB / 0.6255 GB, free: 10.23 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.6289, allocations: 196.3 kB / 0.6257 GB, free: 10.04 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.274e-05/0.629, allocations: 70.98 kB / 0.6258 GB, free: 9.969 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.055e-05/0.629, allocations: 4 kB / 0.6258 GB, free: 9.965 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.6292, allocations: 354.8 kB / 0.6261 GB, free: 9.609 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000349/0.6295, allocations: 119.9 kB / 0.6263 GB, free: 9.492 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003314/0.6299, allocations: 122.9 kB / 0.6264 GB, free: 9.375 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000365/0.6302, allocations: 135.8 kB / 0.6265 GB, free: 9.242 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.6303, allocations: 0 / 0.6265 GB, free: 9.242 MB / 442.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0009059/0.6312, allocations: 352.9 kB / 0.6268 GB, free: 8.891 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.929e-05/0.6312, allocations: 6.812 kB / 0.6268 GB, free: 8.887 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.6312, allocations: 0 / 0.6268 GB, free: 8.887 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.6313, allocations: 4 kB / 0.6268 GB, free: 8.883 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/0.6324, allocations: 151.9 kB / 0.627 GB, free: 8.734 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003726/0.6361, allocations: 5.524 MB / 0.6324 GB, free: 3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003666/0.6365, allocations: 43.41 kB / 0.6324 GB, free: 2.957 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.525e-05/0.6366, allocations: 15.98 kB / 0.6324 GB, free: 2.941 MB / 442.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 () * 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.0003163/0.6369, allocations: 204 kB / 0.6326 GB, free: 2.734 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.637, allocations: 31.62 kB / 0.6327 GB, free: 2.703 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001233/0.6383, allocations: 459 kB / 0.6331 GB, free: 2.254 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/0.6383, allocations: 4 kB / 0.6331 GB, free: 2.25 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.6383, allocations: 4 kB / 0.6331 GB, free: 2.246 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.6383, allocations: 0 / 0.6331 GB, free: 2.246 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006959/0.639, allocations: 377.2 kB / 0.6335 GB, free: 1.828 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.639, allocations: 0 / 0.6335 GB, free: 1.828 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/0.6401, allocations: 155.8 kB / 0.6336 GB, free: 1.676 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.6401, allocations: 0 / 0.6336 GB, free: 1.676 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.554e-05/0.6401, allocations: 7.984 kB / 0.6336 GB, free: 1.668 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003708/0.6439, allocations: 5.516 MB / 0.639 GB, free: 11.94 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.6439, allocations: 0 / 0.639 GB, free: 11.94 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009345/0.6448, allocations: 460.9 kB / 0.6395 GB, free: 11.47 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001806/0.645, allocations: 120.6 kB / 0.6396 GB, free: 11.34 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.94e-05/0.6451, allocations: 4 kB / 0.6396 GB, free: 11.33 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003007/0.6454, allocations: 19.98 kB / 0.6396 GB, free: 11.31 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.712e-05/0.6455, allocations: 15.97 kB / 0.6396 GB, free: 11.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.401e-05/0.6456, allocations: 12 kB / 0.6396 GB, free: 11.29 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000513/0.6461, allocations: 331.1 kB / 0.6399 GB, free: 10.96 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6461, allocations: 0 / 0.6399 GB, free: 10.96 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0006517/0.6468, allocations: 111.8 kB / 0.64 GB, free: 10.86 MB / 458.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 () * 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.001581/0.6484, allocations: 1.058 MB / 0.6411 GB, free: 9.77 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001502/0.6499, allocations: 384.4 kB / 0.6414 GB, free: 9.395 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.6499, allocations: 0 / 0.6414 GB, free: 9.395 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00106/0.651, allocations: 243.7 kB / 0.6417 GB, free: 9.156 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005793/0.6516, allocations: 77.52 kB / 0.6417 GB, free: 9.082 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005344/0.6569, allocations: 2.618 MB / 0.6443 GB, free: 6.406 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005206/0.6574, allocations: 0.8581 MB / 0.6451 GB, free: 5.52 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003038/0.6578, allocations: 83.2 kB / 0.6452 GB, free: 5.438 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002036/0.658, allocations: 107.4 kB / 0.6453 GB, free: 5.332 MB / 458.7 MB Notification: Performance of SimCode: time 4.01e-07/0.658, allocations: 0 / 0.6453 GB, free: 5.332 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03488/0.6929, allocations: 10.76 MB / 0.6558 GB, free: 10.85 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002845/0.6932, allocations: 257.4 kB / 0.6561 GB, free: 10.51 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.601/3.294, allocations: 2.812 kB / 0.6561 GB, free: 10.51 MB / 474.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat