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_laminar_KC.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_laminar_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",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.001533/0.001533, allocations: 182.2 kB / 13.66 MB, free: 1.664 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.062/2.062, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001119/0.001118, allocations: 90.64 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2866/0.2866, allocations: 43.5 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.385e-05/3.401e-05, allocations: 4 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1216, allocations: 58.85 MB / 484.3 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4853/0.607, allocations: 91.75 MB / 0.5625 GB, free: 11.82 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003609/0.6074, allocations: 96.48 kB / 0.5626 GB, free: 11.76 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04484/0.6523, allocations: 9.425 MB / 0.5718 GB, free: 3.594 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.6523, allocations: 0 / 0.5718 GB, free: 3.594 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.977e-05/0.6524, allocations: 4 kB / 0.5718 GB, free: 3.59 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001261/0.6536, allocations: 0.5681 MB / 0.5724 GB, free: 3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/0.6537, allocations: 8.031 kB / 0.5724 GB, free: 2.992 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001505/0.6539, allocations: 79.59 kB / 0.5724 GB, free: 2.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.654, allocations: 47.45 kB / 0.5725 GB, free: 2.883 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005631/0.6546, allocations: 278.5 kB / 0.5728 GB, free: 2.582 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.488e-05/0.6546, allocations: 27.03 kB / 0.5728 GB, free: 2.566 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.145e-05/0.6547, allocations: 41.19 kB / 0.5728 GB, free: 2.539 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/0.656, allocations: 0.5145 MB / 0.5733 GB, free: 2.145 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.656, allocations: 3.938 kB / 0.5733 GB, free: 2.141 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.51e-05/0.6561, allocations: 18.12 kB / 0.5733 GB, free: 2.133 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.483e-05/0.6562, allocations: 36.97 kB / 0.5734 GB, free: 2.098 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001262/0.6575, allocations: 0.5358 MB / 0.5739 GB, free: 1.691 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003036/0.6605, allocations: 1.208 MB / 0.5751 GB, free: 0.5898 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.6616, allocations: 352.8 kB / 0.5754 GB, free: 276 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003393/0.662, allocations: 119.6 kB / 0.5755 GB, free: 168 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.778e-05/0.662, allocations: 8.156 kB / 0.5755 GB, free: 160 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.6621, allocations: 41.75 kB / 0.5756 GB, free: 112 kB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 2.766e-06/0.6621, allocations: 0 / 0.5756 GB, free: 112 kB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.001051/0.6632, allocations: 313.3 kB / 0.5759 GB, free: 15.82 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.839e-05/0.6632, allocations: 55.41 kB / 0.5759 GB, free: 15.76 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007596/0.664, allocations: 397.6 kB / 0.5763 GB, free: 15.43 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.308e-05/0.6641, allocations: 28.58 kB / 0.5763 GB, free: 15.39 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/0.6643, allocations: 227.1 kB / 0.5766 GB, free: 15.22 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.6644, allocations: 79.16 kB / 0.5766 GB, free: 15.15 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.453e-05/0.6644, allocations: 2.625 kB / 0.5766 GB, free: 15.15 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.6646, allocations: 321.9 kB / 0.5769 GB, free: 14.83 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003188/0.6649, allocations: 106.5 kB / 0.577 GB, free: 14.73 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003099/0.6653, allocations: 102.2 kB / 0.5771 GB, free: 14.64 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003547/0.6656, allocations: 115.5 kB / 0.5772 GB, free: 14.54 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.6656, allocations: 0 / 0.5772 GB, free: 14.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008865/0.6665, allocations: 286.8 kB / 0.5775 GB, free: 14.28 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/0.6666, allocations: 8 kB / 0.5775 GB, free: 14.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.6666, allocations: 0 / 0.5775 GB, free: 14.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.6666, allocations: 0 / 0.5775 GB, free: 14.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001503/0.6682, allocations: 155.8 kB / 0.5777 GB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004183/0.6724, allocations: 5.517 MB / 0.5831 GB, free: 8.465 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004784/0.6729, allocations: 55.08 kB / 0.5831 GB, free: 8.414 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.405e-05/0.673, allocations: 11.98 kB / 0.5831 GB, free: 8.402 MB / 394.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.00015/0.6731, allocations: 118.4 kB / 0.5832 GB, free: 8.289 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.764e-05/0.6732, allocations: 35.53 kB / 0.5833 GB, free: 8.254 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001315/0.6746, allocations: 419.7 kB / 0.5837 GB, free: 7.887 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.6746, allocations: 4 kB / 0.5837 GB, free: 7.883 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.6746, allocations: 0 / 0.5837 GB, free: 7.883 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.6746, allocations: 4 kB / 0.5837 GB, free: 7.879 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007603/0.6754, allocations: 382.3 kB / 0.584 GB, free: 7.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-06/0.6754, allocations: 0 / 0.584 GB, free: 7.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001415/0.6769, allocations: 155.9 kB / 0.5842 GB, free: 7.348 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-06/0.6769, allocations: 0 / 0.5842 GB, free: 7.348 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.661e-05/0.6769, allocations: 10.73 kB / 0.5842 GB, free: 7.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004063/0.681, allocations: 5.522 MB / 0.5896 GB, free: 1.68 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.6811, allocations: 0 / 0.5896 GB, free: 1.68 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009834/0.6821, allocations: 422.5 kB / 0.59 GB, free: 1.281 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001847/0.6823, allocations: 116.8 kB / 0.5901 GB, free: 1.148 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.553e-05/0.6824, allocations: 4 kB / 0.5901 GB, free: 1.145 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004285/0.6828, allocations: 19.42 kB / 0.5901 GB, free: 1.129 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.6829, allocations: 19.84 kB / 0.5902 GB, free: 1.113 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.686e-05/0.683, allocations: 8 kB / 0.5902 GB, free: 1.105 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005787/0.6836, allocations: 327.1 kB / 0.5905 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.6836, allocations: 0 / 0.5905 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006377/0.6842, allocations: 110.8 kB / 0.5906 GB, free: 0.7422 MB / 394.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.001671/0.6859, allocations: 1.026 MB / 0.5916 GB, free: 15.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001816/0.6878, allocations: 338.5 kB / 0.5919 GB, free: 15.42 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.774e-06/0.6878, allocations: 4 kB / 0.5919 GB, free: 15.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001348/0.6892, allocations: 225.5 kB / 0.5921 GB, free: 15.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007174/0.6899, allocations: 82.73 kB / 0.5922 GB, free: 15.15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002157/0.6921, allocations: 0.6979 MB / 0.5929 GB, free: 14.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005787/0.6928, allocations: 0.8628 MB / 0.5937 GB, free: 13.58 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002724/0.693, allocations: 112 kB / 0.5938 GB, free: 13.54 MB / 410.7 MB Notification: Performance of SimCode: time 3.547e-06/0.6931, allocations: 0 / 0.5938 GB, free: 13.54 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.344/4.037, allocations: 20.42 MB / 0.6138 GB, free: 9.148 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.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_laminar_KC_res.mat does not exist to compare? outputFormat=mat