Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.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.Media.TestAllProperties.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",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.002055/0.002055, allocations: 177.7 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.007/2.007, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 88.09 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2985/0.2985, allocations: 43.48 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.236e-05/2.232e-05, allocations: 3.984 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4087/0.4088, allocations: 58.85 MB / 477.2 MB, free: 5.281 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6518/1.061, allocations: 193.6 MB / 0.6551 GB, free: 113 MB / 475.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003204/1.061, allocations: 83.67 kB / 0.6552 GB, free: 113 MB / 475.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1767/1.238, allocations: 44.7 MB / 0.6988 GB, free: 100.3 MB / 475.1 MB Notification: Performance of FrontEnd: time 1.633e-06/1.238, allocations: 0 / 0.6988 GB, free: 100.3 MB / 475.1 MB Notification: Performance of Transformations before backend: time 1.495e-05/1.238, allocations: 0 / 0.6988 GB, free: 100.3 MB / 475.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001629/1.239, allocations: 0.6205 MB / 0.6994 GB, free: 99.74 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/1.24, allocations: 8.625 kB / 0.6994 GB, free: 99.74 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006216/1.24, allocations: 45.12 kB / 0.6995 GB, free: 99.72 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002859/1.24, allocations: 219.1 kB / 0.6997 GB, free: 99.5 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/1.24, allocations: 2.281 kB / 0.6997 GB, free: 99.5 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.493e-05/1.241, allocations: 11.09 kB / 0.6997 GB, free: 99.5 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004184/1.241, allocations: 215.1 kB / 0.6999 GB, free: 99.45 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003544/1.241, allocations: 209.2 kB / 0.7001 GB, free: 99.31 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/1.241, allocations: 3.953 kB / 0.7001 GB, free: 99.31 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.717e-05/1.241, allocations: 3.844 kB / 0.7001 GB, free: 99.31 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/1.241, allocations: 3.781 kB / 0.7001 GB, free: 99.31 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002344/1.244, allocations: 2.405 MB / 0.7025 GB, free: 96.83 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/1.244, allocations: 57.56 kB / 0.7025 GB, free: 96.8 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.629e-05/1.244, allocations: 27.44 kB / 0.7026 GB, free: 96.79 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002769/1.244, allocations: 351.9 kB / 0.7029 GB, free: 96.4 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002218/1.245, allocations: 111.8 kB / 0.703 GB, free: 96.3 MB / 475.1 MB Notification: Performance of pre-optimization done (n=12): time 2.795e-06/1.245, allocations: 0 / 0.703 GB, free: 96.3 MB / 475.1 MB Notification: Performance of matching and sorting (n=13): time 0.001182/1.246, allocations: 216.9 kB / 0.7032 GB, free: 96.19 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/1.246, allocations: 110.8 kB / 0.7033 GB, free: 96.06 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/1.246, allocations: 147.5 kB / 0.7035 GB, free: 95.95 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/1.246, allocations: 25.7 kB / 0.7035 GB, free: 95.92 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/1.246, allocations: 239.8 kB / 0.7037 GB, free: 95.71 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.718e-05/1.246, allocations: 46.25 kB / 0.7037 GB, free: 95.68 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.512e-05/1.246, allocations: 0 / 0.7037 GB, free: 95.68 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 6.463e-05/1.246, allocations: 322.4 kB / 0.7041 GB, free: 95.36 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.718e-05/1.247, allocations: 28.53 kB / 0.7041 GB, free: 95.36 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/1.247, allocations: 176.5 kB / 0.7043 GB, free: 95.16 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/1.248, allocations: 141.3 kB / 0.7044 GB, free: 95.12 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/1.248, allocations: 0 / 0.7044 GB, free: 95.12 MB / 475.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001614/1.25, allocations: 297.8 kB / 0.7047 GB, free: 95 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/1.25, allocations: 11.84 kB / 0.7047 GB, free: 95 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/1.25, allocations: 3.969 kB / 0.7047 GB, free: 95 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.925e-05/1.25, allocations: 12.28 kB / 0.7047 GB, free: 95 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009267/1.251, allocations: 106.3 kB / 0.7048 GB, free: 94.97 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004059/1.251, allocations: 0.5931 MB / 0.7054 GB, free: 94.38 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003119/1.251, allocations: 7.688 kB / 0.7054 GB, free: 94.38 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.304e-05/1.252, allocations: 19.16 kB / 0.7054 GB, free: 94.38 MB / 475.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001236/1.252, allocations: 120.6 kB / 0.7055 GB, free: 94.26 MB / 475.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005753/1.252, allocations: 130.1 kB / 0.7056 GB, free: 94.16 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.851e-05/1.252, allocations: 19.78 kB / 0.7057 GB, free: 94.14 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006981/1.253, allocations: 206.2 kB / 0.7059 GB, free: 93.95 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/1.253, allocations: 4 kB / 0.7059 GB, free: 93.95 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/1.253, allocations: 0 / 0.7059 GB, free: 93.95 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/1.253, allocations: 3.953 kB / 0.7059 GB, free: 93.94 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007926/1.254, allocations: 386.8 kB / 0.7062 GB, free: 93.55 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/1.254, allocations: 0 / 0.7062 GB, free: 93.55 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005917/1.254, allocations: 48.05 kB / 0.7063 GB, free: 93.51 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/1.255, allocations: 3.938 kB / 0.7063 GB, free: 93.5 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/1.255, allocations: 8 kB / 0.7063 GB, free: 93.5 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003459/1.255, allocations: 0.5933 MB / 0.7069 GB, free: 92.88 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.431e-06/1.255, allocations: 0 / 0.7069 GB, free: 92.88 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004782/1.255, allocations: 235.1 kB / 0.7071 GB, free: 92.64 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001404/1.256, allocations: 124.3 kB / 0.7072 GB, free: 92.52 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.29e-05/1.256, allocations: 0 / 0.7072 GB, free: 92.52 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/1.256, allocations: 4 kB / 0.7072 GB, free: 92.51 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/1.256, allocations: 11.61 kB / 0.7072 GB, free: 92.5 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.577e-05/1.256, allocations: 4 kB / 0.7072 GB, free: 92.5 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.0001037/1.256, allocations: 121.7 kB / 0.7073 GB, free: 92.39 MB / 475.1 MB Notification: Performance of sort global known variables: time 6.21e-07/1.256, allocations: 0 / 0.7073 GB, free: 92.39 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.001026/1.257, allocations: 178.9 kB / 0.7075 GB, free: 92.22 MB / 475.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001807/1.259, allocations: 1.057 MB / 0.7086 GB, free: 91.16 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.0007161/1.26, allocations: 149.2 kB / 0.7087 GB, free: 91.03 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/1.26, allocations: 0 / 0.7087 GB, free: 91.03 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000241/1.26, allocations: 39.67 kB / 0.7087 GB, free: 91 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004326/1.26, allocations: 29.23 kB / 0.7088 GB, free: 90.98 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05764/1.318, allocations: 11.86 MB / 0.7203 GB, free: 80.91 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/1.318, allocations: 0.7126 MB / 0.721 GB, free: 80.17 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000389/1.319, allocations: 67.64 kB / 0.7211 GB, free: 80.12 MB / 475.1 MB Notification: Performance of SimCode: time 1.974e-06/1.319, allocations: 0 / 0.7211 GB, free: 80.12 MB / 475.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.012/4.331, allocations: 6.146 MB / 0.7271 GB, free: 74 MB / 475.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat does not exist to compare? outputFormat=mat