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_laminar.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_laminar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar",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.00138/0.00138, 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.518/1.518, allocations: 221.3 MB / 236 MB, free: 2.98 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.0009766/0.000977, allocations: 84.05 kB / 287 MB, free: 264 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.213/0.213, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.002e-05/3.006e-05, allocations: 11.94 kB / 452 MB, free: 9.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1376, allocations: 61.91 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4281/0.5658, allocations: 94.78 MB / 0.5944 GB, free: 10.46 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/0.5661, allocations: 92.91 kB / 0.5945 GB, free: 10.37 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02949/0.5956, allocations: 11.11 MB / 0.6053 GB, free: 15.11 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.5957, allocations: 0 / 0.6053 GB, free: 15.11 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.595e-05/0.5957, allocations: 4 kB / 0.6053 GB, free: 15.1 MB / 426.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.0009441/0.5966, allocations: 0.6268 MB / 0.6059 GB, free: 14.43 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.5967, allocations: 12.03 kB / 0.6059 GB, free: 14.41 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001024/0.5968, allocations: 86.52 kB / 0.606 GB, free: 14.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.012e-05/0.5969, allocations: 43.44 kB / 0.6061 GB, free: 14.28 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000414/0.5973, allocations: 274.3 kB / 0.6063 GB, free: 13.97 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.247e-05/0.5974, allocations: 28.78 kB / 0.6064 GB, free: 13.94 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.544e-05/0.5974, allocations: 39.94 kB / 0.6064 GB, free: 13.9 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008015/0.5982, allocations: 0.541 MB / 0.6069 GB, free: 13.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.5982, allocations: 0 / 0.6069 GB, free: 13.34 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.67e-05/0.5983, allocations: 16 kB / 0.6069 GB, free: 13.33 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.33e-05/0.5983, allocations: 16.78 kB / 0.607 GB, free: 13.31 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005541/0.5989, allocations: 370.8 kB / 0.6073 GB, free: 12.95 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001878/0.6008, allocations: 1.401 MB / 0.6087 GB, free: 11.48 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004543/0.6012, allocations: 255.6 kB / 0.6089 GB, free: 11.2 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002129/0.6015, allocations: 106.5 kB / 0.609 GB, free: 11.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.632e-05/0.6015, allocations: 4 kB / 0.609 GB, free: 11.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.6016, allocations: 38.56 kB / 0.6091 GB, free: 11.04 MB / 426.7 MB Notification: Performance of pre-optimization done (n=17): time 4.228e-06/0.6016, allocations: 3.984 kB / 0.6091 GB, free: 11.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007025/0.6023, allocations: 273.7 kB / 0.6093 GB, free: 10.76 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.6024, allocations: 114.8 kB / 0.6094 GB, free: 10.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005529/0.603, allocations: 451.1 kB / 0.6099 GB, free: 10.18 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.603, allocations: 29.7 kB / 0.6099 GB, free: 10.14 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.6032, allocations: 212.2 kB / 0.6101 GB, free: 9.93 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.012e-05/0.6032, allocations: 51.25 kB / 0.6102 GB, free: 9.879 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.675e-05/0.6033, allocations: 4 kB / 0.6102 GB, free: 9.875 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.6034, allocations: 362.8 kB / 0.6105 GB, free: 9.512 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.6036, allocations: 96.11 kB / 0.6106 GB, free: 9.414 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001942/0.6038, allocations: 133.4 kB / 0.6107 GB, free: 9.266 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002047/0.604, allocations: 126.3 kB / 0.6108 GB, free: 9.145 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.604, allocations: 0 / 0.6108 GB, free: 9.145 MB / 426.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005274/0.6045, allocations: 316.9 kB / 0.6111 GB, free: 8.828 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.6046, allocations: 4 kB / 0.6111 GB, free: 8.824 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.213e-05/0.6046, allocations: 31.91 kB / 0.6112 GB, free: 8.793 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.6047, allocations: 4 kB / 0.6112 GB, free: 8.789 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/0.6049, allocations: 44.06 kB / 0.6112 GB, free: 8.746 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.6049, allocations: 4 kB / 0.6112 GB, free: 8.742 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002779/0.6052, allocations: 67.34 kB / 0.6113 GB, free: 8.676 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-05/0.6052, allocations: 12 kB / 0.6113 GB, free: 8.664 MB / 426.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 () * 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 9.652e-05/0.6053, allocations: 114.9 kB / 0.6114 GB, free: 8.547 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.592e-05/0.6054, allocations: 43.53 kB / 0.6115 GB, free: 8.504 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006551/0.6061, allocations: 361.6 kB / 0.6118 GB, free: 8.145 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.363e-06/0.6061, allocations: 4 kB / 0.6118 GB, free: 8.141 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.6061, allocations: 4 kB / 0.6118 GB, free: 8.137 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.6062, allocations: 7.922 kB / 0.6118 GB, free: 8.129 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005448/0.6067, allocations: 365.3 kB / 0.6122 GB, free: 7.723 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.917e-05/0.6068, allocations: 27.97 kB / 0.6122 GB, free: 7.695 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/0.6069, allocations: 35.97 kB / 0.6122 GB, free: 7.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.6069, allocations: 0 / 0.6122 GB, free: 7.66 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.576e-05/0.607, allocations: 8 kB / 0.6122 GB, free: 7.652 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.607, allocations: 3.938 kB / 0.6122 GB, free: 7.648 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.607, allocations: 0 / 0.6122 GB, free: 7.648 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005771/0.6076, allocations: 0.5454 MB / 0.6128 GB, free: 7.074 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.6077, allocations: 124.6 kB / 0.6129 GB, free: 6.934 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.127e-05/0.6078, allocations: 0 / 0.6129 GB, free: 6.934 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002945/0.6081, allocations: 27.97 kB / 0.6129 GB, free: 6.906 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.53e-05/0.6081, allocations: 23.94 kB / 0.6129 GB, free: 6.883 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.673e-05/0.6082, allocations: 15.98 kB / 0.613 GB, free: 6.867 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000384/0.6086, allocations: 369.1 kB / 0.6133 GB, free: 6.508 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.6086, allocations: 0 / 0.6133 GB, free: 6.508 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000526/0.6091, allocations: 115.9 kB / 0.6134 GB, free: 6.395 MB / 426.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 () * 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.00112/0.6102, allocations: 1.325 MB / 0.6147 GB, free: 5.035 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006084/0.6109, allocations: 463.1 kB / 0.6151 GB, free: 4.527 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.6109, allocations: 12.25 kB / 0.6152 GB, free: 4.516 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003121/0.6112, allocations: 355.2 kB / 0.6155 GB, free: 4.113 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004954/0.6117, allocations: 85.48 kB / 0.6156 GB, free: 4.031 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.6132, allocations: 0.7351 MB / 0.6163 GB, free: 3.254 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004331/0.6137, allocations: 0.8539 MB / 0.6171 GB, free: 2.371 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001668/0.6138, allocations: 63.23 kB / 0.6172 GB, free: 2.309 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.614, allocations: 111.4 kB / 0.6173 GB, free: 2.199 MB / 426.7 MB Notification: Performance of SimCode: time 3.667e-06/0.614, allocations: 0 / 0.6173 GB, free: 2.199 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02591/0.6399, allocations: 10.92 MB / 0.628 GB, free: 7.496 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002469/0.6402, allocations: 195.8 kB / 0.6282 GB, free: 7.27 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.219/2.86, allocations: 0 / 0.6282 GB, free: 7.27 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.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_laminar_res.mat does not exist to compare? outputFormat=mat