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_overall_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_overall_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_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.002503/0.002503, allocations: 182 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.172/2.172, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001189/0.001189, allocations: 98.56 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.2865/0.2865, allocations: 43.5 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.348e-05/3.36e-05, allocations: 4 kB / 425.4 MB, free: 23.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1206, allocations: 58.85 MB / 484.3 MB, free: 12.35 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5048/0.6255, allocations: 96.79 MB / 0.5674 GB, free: 6.711 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003306/0.6259, allocations: 101.5 kB / 0.5675 GB, free: 6.652 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06969/0.6956, allocations: 14.35 MB / 0.5815 GB, free: 10.25 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.6956, allocations: 3.938 kB / 0.5816 GB, free: 10.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.772e-05/0.6956, allocations: 4 kB / 0.5816 GB, free: 10.25 MB / 394.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.001323/0.697, allocations: 0.6023 MB / 0.5821 GB, free: 9.625 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.697, allocations: 8.031 kB / 0.5822 GB, free: 9.617 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001302/0.6972, allocations: 83.28 kB / 0.5822 GB, free: 9.551 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.6973, allocations: 39.53 kB / 0.5823 GB, free: 9.512 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005106/0.6978, allocations: 287.2 kB / 0.5825 GB, free: 9.203 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.377e-05/0.6979, allocations: 26.59 kB / 0.5826 GB, free: 9.188 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.733e-05/0.698, allocations: 37.31 kB / 0.5826 GB, free: 9.164 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/0.6992, allocations: 0.514 MB / 0.5831 GB, free: 8.77 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.6992, allocations: 0 / 0.5831 GB, free: 8.77 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.576e-05/0.6993, allocations: 17.42 kB / 0.5831 GB, free: 8.762 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.037e-05/0.6993, allocations: 36.23 kB / 0.5832 GB, free: 8.73 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001265/0.7006, allocations: 0.5368 MB / 0.5837 GB, free: 8.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002918/0.7036, allocations: 1.2 MB / 0.5849 GB, free: 7.227 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009839/0.7046, allocations: 358.7 kB / 0.5852 GB, free: 6.898 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003352/0.7049, allocations: 121.3 kB / 0.5853 GB, free: 6.793 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.129e-05/0.705, allocations: 8.172 kB / 0.5853 GB, free: 6.785 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.705, allocations: 38.16 kB / 0.5854 GB, free: 6.742 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 4.379e-06/0.7051, allocations: 7.984 kB / 0.5854 GB, free: 6.734 MB / 394.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009797/0.706, allocations: 317 kB / 0.5857 GB, free: 6.445 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.7061, allocations: 51.41 kB / 0.5857 GB, free: 6.383 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007111/0.7068, allocations: 400.2 kB / 0.5861 GB, free: 6.051 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.826e-05/0.7069, allocations: 29.7 kB / 0.5861 GB, free: 6.016 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.7071, allocations: 228.2 kB / 0.5863 GB, free: 5.84 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.855e-05/0.7072, allocations: 77.09 kB / 0.5864 GB, free: 5.773 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.476e-05/0.7072, allocations: 0 / 0.5864 GB, free: 5.773 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.7074, allocations: 330.1 kB / 0.5867 GB, free: 5.445 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003191/0.7077, allocations: 102.3 kB / 0.5868 GB, free: 5.355 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003138/0.708, allocations: 106.6 kB / 0.5869 GB, free: 5.262 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003576/0.7084, allocations: 117.8 kB / 0.587 GB, free: 5.156 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.7084, allocations: 0 / 0.587 GB, free: 5.156 MB / 394.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008561/0.7093, allocations: 288.6 kB / 0.5873 GB, free: 4.895 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.7093, allocations: 4 kB / 0.5873 GB, free: 4.891 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.7093, allocations: 0 / 0.5873 GB, free: 4.891 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.7094, allocations: 0 / 0.5873 GB, free: 4.891 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/0.7108, allocations: 155 kB / 0.5875 GB, free: 4.742 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004201/0.715, allocations: 5.513 MB / 0.5929 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004969/0.7156, allocations: 50.8 kB / 0.5929 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.351e-05/0.7156, allocations: 12 kB / 0.5929 GB, free: 15.03 MB / 410.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.0001479/0.7158, allocations: 122.2 kB / 0.593 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.488e-05/0.7159, allocations: 39.47 kB / 0.5931 GB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001279/0.7172, allocations: 416.7 kB / 0.5935 GB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.7172, allocations: 0 / 0.5935 GB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.7172, allocations: 0 / 0.5935 GB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.7173, allocations: 7.984 kB / 0.5935 GB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007308/0.718, allocations: 378.2 kB / 0.5938 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.718, allocations: 0 / 0.5938 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001401/0.7194, allocations: 151.8 kB / 0.594 GB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.7195, allocations: 0 / 0.594 GB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.275e-05/0.7195, allocations: 14.92 kB / 0.594 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004191/0.7237, allocations: 5.522 MB / 0.5994 GB, free: 8.305 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.7238, allocations: 0 / 0.5994 GB, free: 8.305 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009782/0.7248, allocations: 423.3 kB / 0.5998 GB, free: 7.902 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001875/0.725, allocations: 115.8 kB / 0.5999 GB, free: 7.773 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.284e-05/0.7251, allocations: 4.188 kB / 0.5999 GB, free: 7.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003698/0.7254, allocations: 15.73 kB / 0.5999 GB, free: 7.758 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.919e-05/0.7256, allocations: 23.28 kB / 0.5999 GB, free: 7.738 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.935e-05/0.7256, allocations: 8 kB / 0.5999 GB, free: 7.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005697/0.7262, allocations: 327.7 kB / 0.6003 GB, free: 7.469 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7262, allocations: 0 / 0.6003 GB, free: 7.469 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007505/0.727, allocations: 150 kB / 0.6004 GB, free: 7.332 MB / 410.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.001902/0.7289, allocations: 1.11 MB / 0.6015 GB, free: 6.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001784/0.7307, allocations: 344.4 kB / 0.6018 GB, free: 5.918 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.7307, allocations: 0 / 0.6018 GB, free: 5.918 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001361/0.7321, allocations: 225.5 kB / 0.602 GB, free: 5.711 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006926/0.7328, allocations: 82.34 kB / 0.6021 GB, free: 5.652 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00216/0.735, allocations: 0.7295 MB / 0.6028 GB, free: 4.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006288/0.7357, allocations: 0.8606 MB / 0.6037 GB, free: 4.051 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000253/0.7359, allocations: 109.1 kB / 0.6038 GB, free: 4.016 MB / 410.7 MB Notification: Performance of SimCode: time 1.062e-06/0.736, allocations: 4 kB / 0.6038 GB, free: 4.012 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.312/4.048, allocations: 21.19 MB / 0.6245 GB, free: 14.85 MB / 442.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_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_overall_KC_res.mat does not exist to compare? outputFormat=mat