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.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,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall",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.001561/0.001561, allocations: 185.4 kB / 16.41 MB, free: 5.727 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.089/2.089, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001966/0.001966, allocations: 96.41 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.5406/0.5406, allocations: 43.55 MB / 362.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004811/0.0004812, allocations: 12 kB / 431.5 MB, free: 5.824 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1465, allocations: 58.84 MB / 490.3 MB, free: 10.89 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4923/0.6388, allocations: 98.33 MB / 0.5749 GB, free: 4.121 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004035/0.6393, allocations: 99.94 kB / 0.575 GB, free: 4.023 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0773/0.7166, allocations: 15.31 MB / 0.5899 GB, free: 4.609 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.7167, allocations: 0 / 0.5899 GB, free: 4.609 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.802e-05/0.7167, allocations: 4 kB / 0.5899 GB, free: 4.605 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001834/0.7185, allocations: 0.7084 MB / 0.5906 GB, free: 3.852 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.7186, allocations: 12.5 kB / 0.5906 GB, free: 3.84 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001485/0.7188, allocations: 82.52 kB / 0.5907 GB, free: 3.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.7189, allocations: 50.88 kB / 0.5908 GB, free: 3.703 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006246/0.7195, allocations: 308 kB / 0.591 GB, free: 3.359 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.149e-05/0.7196, allocations: 32.94 kB / 0.5911 GB, free: 3.328 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.853e-05/0.7197, allocations: 39.98 kB / 0.5911 GB, free: 3.289 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/0.7213, allocations: 0.5855 MB / 0.5917 GB, free: 2.684 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.7214, allocations: 0 / 0.5917 GB, free: 2.684 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.957e-05/0.7214, allocations: 17.03 kB / 0.5917 GB, free: 2.668 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.355e-05/0.7215, allocations: 24.98 kB / 0.5917 GB, free: 2.645 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001537/0.7231, allocations: 447.6 kB / 0.5922 GB, free: 2.207 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00328/0.7264, allocations: 1.422 MB / 0.5935 GB, free: 0.7188 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009757/0.7274, allocations: 280.4 kB / 0.5938 GB, free: 428 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.32e-05/0.7275, allocations: 7.984 kB / 0.5938 GB, free: 420 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.587e-05/0.7275, allocations: 46.5 kB / 0.5939 GB, free: 364 kB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 3.637e-06/0.7275, allocations: 0 / 0.5939 GB, free: 364 kB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.002378/0.7299, allocations: 0.7073 MB / 0.5946 GB, free: 15.59 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.309e-05/0.7301, allocations: 110.9 kB / 0.5947 GB, free: 15.45 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.7311, allocations: 0.4931 MB / 0.5951 GB, free: 14.96 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.684e-05/0.7312, allocations: 29.7 kB / 0.5952 GB, free: 14.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002189/0.7314, allocations: 246.6 kB / 0.5954 GB, free: 14.68 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.12e-05/0.7315, allocations: 55.14 kB / 0.5955 GB, free: 14.63 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.568e-05/0.7316, allocations: 8 kB / 0.5955 GB, free: 14.62 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.7317, allocations: 318.8 kB / 0.5958 GB, free: 14.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006576/0.7324, allocations: 140 kB / 0.5959 GB, free: 14.16 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006604/0.7331, allocations: 178 kB / 0.5961 GB, free: 13.97 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006805/0.7338, allocations: 155.9 kB / 0.5962 GB, free: 13.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.982e-06/0.7338, allocations: 0 / 0.5962 GB, free: 13.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001606/0.7354, allocations: 380 kB / 0.5966 GB, free: 13.44 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/0.7355, allocations: 8 kB / 0.5966 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001044/0.7356, allocations: 23.98 kB / 0.5966 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.631e-05/0.7356, allocations: 4 kB / 0.5966 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003871/0.736, allocations: 47.89 kB / 0.5967 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.7361, allocations: 3.953 kB / 0.5967 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000593/0.7367, allocations: 71.44 kB / 0.5967 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.288e-05/0.7367, allocations: 12 kB / 0.5967 GB, free: 13.27 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 () * Number of clocked 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 0.0003586/0.7371, allocations: 185.8 kB / 0.5969 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/0.7373, allocations: 43.38 kB / 0.597 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00146/0.7387, allocations: 401.3 kB / 0.5973 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/0.7388, allocations: 4 kB / 0.5974 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.7388, allocations: 0 / 0.5974 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.7388, allocations: 7.953 kB / 0.5974 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009678/0.7398, allocations: 373.3 kB / 0.5977 GB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.984e-05/0.7399, allocations: 27.98 kB / 0.5977 GB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003137/0.7402, allocations: 31.97 kB / 0.5978 GB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.453e-06/0.7402, allocations: 0 / 0.5978 GB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.142e-05/0.7403, allocations: 11.98 kB / 0.5978 GB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.7403, allocations: 0 / 0.5978 GB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/0.7403, allocations: 7.938 kB / 0.5978 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001596/0.7419, allocations: 0.6229 MB / 0.5984 GB, free: 11.49 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004068/0.7424, allocations: 172.3 kB / 0.5986 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.7425, allocations: 8 kB / 0.5986 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005499/0.743, allocations: 35.86 kB / 0.5986 GB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.7432, allocations: 19.98 kB / 0.5986 GB, free: 11.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.345e-05/0.7432, allocations: 11.98 kB / 0.5986 GB, free: 11.23 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008059/0.7441, allocations: 407 kB / 0.599 GB, free: 10.83 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.7441, allocations: 0 / 0.599 GB, free: 10.83 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001002/0.7451, allocations: 155.9 kB / 0.5992 GB, free: 10.68 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 () * Number of clocked 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.002793/0.7479, allocations: 1.479 MB / 0.6006 GB, free: 9.168 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001609/0.7496, allocations: 0.5379 MB / 0.6011 GB, free: 8.574 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.7496, allocations: 3.938 kB / 0.6011 GB, free: 8.57 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008841/0.7505, allocations: 399.4 kB / 0.6015 GB, free: 8.125 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009075/0.7514, allocations: 97.39 kB / 0.6016 GB, free: 8.035 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008678/0.7601, allocations: 3.798 MB / 0.6053 GB, free: 4.164 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006264/0.7608, allocations: 0.8577 MB / 0.6062 GB, free: 3.281 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003031/0.7611, allocations: 115.4 kB / 0.6063 GB, free: 3.168 MB / 426.7 MB Notification: Performance of SimCode: time 1.723e-06/0.7611, allocations: 0 / 0.6063 GB, free: 3.168 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.804/3.565, allocations: 10.13 MB / 0.6162 GB, free: 9.055 MB / 442.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.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_res.mat does not exist to compare? outputFormat=mat