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.001488/0.001488, allocations: 181.7 kB / 16.4 MB, free: 5.723 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.101/2.101, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001135/0.001135, allocations: 96.42 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.6013/0.6013, allocations: 43.55 MB / 362.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006764/0.0006765, allocations: 16 kB / 431.5 MB, free: 6.055 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1411, allocations: 58.85 MB / 490.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5119/0.653, allocations: 96.89 MB / 0.5735 GB, free: 5.641 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005569/0.6536, allocations: 95.94 kB / 0.5736 GB, free: 5.547 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07449/0.7282, allocations: 14.36 MB / 0.5876 GB, free: 7.082 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.7282, allocations: 0.75 kB / 0.5876 GB, free: 7.082 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.812e-05/0.7282, allocations: 4 kB / 0.5876 GB, free: 7.078 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.001594/0.7298, allocations: 0.6151 MB / 0.5882 GB, free: 6.418 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.638e-05/0.7299, allocations: 8.031 kB / 0.5882 GB, free: 6.41 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001674/0.7301, allocations: 86.52 kB / 0.5883 GB, free: 6.316 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.7302, allocations: 42.97 kB / 0.5883 GB, free: 6.277 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005508/0.7308, allocations: 286.3 kB / 0.5886 GB, free: 5.957 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.676e-05/0.7308, allocations: 25 kB / 0.5886 GB, free: 5.934 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.056e-05/0.7309, allocations: 39.94 kB / 0.5886 GB, free: 5.895 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.7324, allocations: 0.5373 MB / 0.5892 GB, free: 5.352 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.7325, allocations: 0 / 0.5892 GB, free: 5.352 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.585e-05/0.7326, allocations: 16 kB / 0.5892 GB, free: 5.336 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-05/0.7327, allocations: 32.98 kB / 0.5892 GB, free: 5.305 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001625/0.7343, allocations: 0.5747 MB / 0.5898 GB, free: 4.727 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003151/0.7375, allocations: 1.21 MB / 0.591 GB, free: 3.461 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001213/0.7388, allocations: 384 kB / 0.5913 GB, free: 3.082 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.681e-05/0.7389, allocations: 12.17 kB / 0.5913 GB, free: 3.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.7389, allocations: 34.78 kB / 0.5914 GB, free: 3.027 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 3.446e-06/0.7389, allocations: 0 / 0.5914 GB, free: 3.027 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.002001/0.7409, allocations: 474.8 kB / 0.5918 GB, free: 2.559 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/0.741, allocations: 55.41 kB / 0.5919 GB, free: 2.492 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008728/0.7419, allocations: 408.8 kB / 0.5923 GB, free: 2.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.09e-05/0.742, allocations: 37.7 kB / 0.5923 GB, free: 2.047 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/0.7422, allocations: 214.9 kB / 0.5925 GB, free: 1.836 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/0.7424, allocations: 78.94 kB / 0.5926 GB, free: 1.758 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.774e-05/0.7424, allocations: 0 / 0.5926 GB, free: 1.758 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.7426, allocations: 326.8 kB / 0.5929 GB, free: 1.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004934/0.7431, allocations: 115.9 kB / 0.593 GB, free: 1.316 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004498/0.7435, allocations: 123.9 kB / 0.5931 GB, free: 1.195 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004999/0.7441, allocations: 132.9 kB / 0.5933 GB, free: 1.066 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.7441, allocations: 7.922 kB / 0.5933 GB, free: 1.059 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001226/0.7453, allocations: 321.3 kB / 0.5936 GB, free: 0.7383 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.7454, allocations: 8 kB / 0.5936 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.7454, allocations: 0 / 0.5936 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.7454, allocations: 0 / 0.5936 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001568/0.747, allocations: 155.8 kB / 0.5937 GB, free: 0.5781 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004604/0.7516, allocations: 5.516 MB / 0.5991 GB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004798/0.7522, allocations: 43.47 kB / 0.5992 GB, free: 10.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.601e-05/0.7522, allocations: 15.98 kB / 0.5992 GB, free: 10.79 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 () * 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.0004082/0.7526, allocations: 201.8 kB / 0.5994 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.824e-05/0.7528, allocations: 35.56 kB / 0.5994 GB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001591/0.7544, allocations: 456.4 kB / 0.5998 GB, free: 10.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.7544, allocations: 4 kB / 0.5998 GB, free: 10.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.7544, allocations: 0 / 0.5998 GB, free: 10.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.7544, allocations: 0 / 0.5998 GB, free: 10.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008238/0.7553, allocations: 381.2 kB / 0.6002 GB, free: 9.676 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.7553, allocations: 3.938 kB / 0.6002 GB, free: 9.672 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00155/0.7568, allocations: 159.8 kB / 0.6004 GB, free: 9.516 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.857e-06/0.7569, allocations: 0 / 0.6004 GB, free: 9.516 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.3e-05/0.757, allocations: 11.98 kB / 0.6004 GB, free: 9.504 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004459/0.7614, allocations: 5.512 MB / 0.6057 GB, free: 3.781 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.7615, allocations: 288 / 0.6057 GB, free: 3.781 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/0.7628, allocations: 461.7 kB / 0.6062 GB, free: 3.316 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001973/0.763, allocations: 120.6 kB / 0.6063 GB, free: 3.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.73e-05/0.7631, allocations: 4 kB / 0.6063 GB, free: 3.176 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003506/0.7635, allocations: 15.98 kB / 0.6063 GB, free: 3.16 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.7636, allocations: 19.97 kB / 0.6063 GB, free: 3.141 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.165e-05/0.7637, allocations: 12 kB / 0.6064 GB, free: 3.129 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006173/0.7643, allocations: 331.1 kB / 0.6067 GB, free: 2.809 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.7643, allocations: 0 / 0.6067 GB, free: 2.809 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000823/0.7651, allocations: 151.8 kB / 0.6068 GB, free: 2.66 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 () * 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.00267/0.7678, allocations: 1.138 MB / 0.6079 GB, free: 1.496 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002822/0.7707, allocations: 383.5 kB / 0.6083 GB, free: 1.121 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.7708, allocations: 0 / 0.6083 GB, free: 1.121 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001536/0.7723, allocations: 243.7 kB / 0.6085 GB, free: 0.8828 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007405/0.7731, allocations: 81.5 kB / 0.6086 GB, free: 0.8047 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006533/0.7796, allocations: 2.661 MB / 0.6112 GB, free: 14.08 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006315/0.7803, allocations: 0.8619 MB / 0.612 GB, free: 13.19 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003057/0.7806, allocations: 111.4 kB / 0.6121 GB, free: 13.08 MB / 442.7 MB Notification: Performance of SimCode: time 1.814e-06/0.7806, allocations: 3.938 kB / 0.6121 GB, free: 13.08 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.325/4.106, allocations: 21.37 MB / 0.633 GB, free: 7.715 MB / 458.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