Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",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.001386/0.001386, allocations: 176.1 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.951/1.951, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000995/0.0009951, allocations: 82.64 kB / 261.7 MB, free: 1.68 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.2344/0.2344, allocations: 43.5 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.939e-05/1.941e-05, allocations: 0 / 418.4 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1421, allocations: 58.86 MB / 477.2 MB, free: 1.531 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.994/10.14, allocations: 3.614 GB / 4.08 GB, free: 59.88 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003052/10.14, allocations: 98.75 kB / 4.08 GB, free: 59.83 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.828/11.96, allocations: 429 MB / 4.499 GB, free: 22.39 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.404e-06/11.96, allocations: 0 / 4.499 GB, free: 22.39 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.163e-05/11.96, allocations: 20 kB / 4.499 GB, free: 22.38 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.009817/11.97, allocations: 2.345 MB / 4.501 GB, free: 19.98 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.384e-05/11.97, allocations: 8.031 kB / 4.501 GB, free: 19.97 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005063/11.98, allocations: 110.9 kB / 4.501 GB, free: 19.86 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/11.98, allocations: 0.633 MB / 4.502 GB, free: 19.19 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.991e-05/11.98, allocations: 101.3 kB / 4.502 GB, free: 19.07 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/11.98, allocations: 40 kB / 4.502 GB, free: 19.04 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001461/11.98, allocations: 1.035 MB / 4.503 GB, free: 18 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/11.98, allocations: 1.027 MB / 4.504 GB, free: 16.92 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.95e-05/11.98, allocations: 3.938 kB / 4.504 GB, free: 16.91 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.152e-05/11.98, allocations: 7.984 kB / 4.504 GB, free: 16.91 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.308e-05/11.98, allocations: 57.94 kB / 4.504 GB, free: 16.85 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006156/11.99, allocations: 5.019 MB / 4.509 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/11.99, allocations: 0.6989 MB / 4.509 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004188/11.99, allocations: 354.8 kB / 4.51 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007824/11.99, allocations: 1.065 MB / 4.511 GB, free: 9.117 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/11.99, allocations: 43.12 kB / 4.511 GB, free: 9.066 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=64): time 3.216e-06/11.99, allocations: 0 / 4.511 GB, free: 9.066 MB / 0.4948 GB Notification: Performance of matching and sorting (n=76): time 0.0122/12, allocations: 3.826 MB / 4.515 GB, free: 5.176 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/12, allocations: 115.6 kB / 4.515 GB, free: 5.039 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005539/12, allocations: 478 kB / 4.515 GB, free: 4.566 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.27e-05/12, allocations: 29.7 kB / 4.515 GB, free: 4.531 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001948/12, allocations: 414.9 kB / 4.516 GB, free: 4.117 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001813/12, allocations: 260.2 kB / 4.516 GB, free: 3.859 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-05/12, allocations: 0 / 4.516 GB, free: 3.859 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001177/12, allocations: 378.8 kB / 4.516 GB, free: 3.48 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005149/12, allocations: 426.5 kB / 4.517 GB, free: 3.062 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006692/12, allocations: 0.6785 MB / 4.517 GB, free: 2.273 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001626/12, allocations: 0.7343 MB / 4.518 GB, free: 1.539 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/12, allocations: 4 kB / 4.518 GB, free: 1.535 MB / 0.4948 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002858/12.01, allocations: 1.637 MB / 4.52 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/12.01, allocations: 8 kB / 4.52 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/12.01, allocations: 12.12 kB / 4.52 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005097/12.01, allocations: 1.069 MB / 4.521 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006376/12.01, allocations: 159.7 kB / 4.521 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00228/12.02, allocations: 1.522 MB / 4.522 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/12.02, allocations: 63.94 kB / 4.522 GB, free: 13.03 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001394/12.02, allocations: 63.97 kB / 4.522 GB, free: 12.96 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 33} Notification: Performance of prepare postOptimizeDAE: time 0.0003258/12.02, allocations: 136.7 kB / 4.523 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002666/12.02, allocations: 1.164 MB / 4.524 GB, free: 11.65 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/12.02, allocations: 75.16 kB / 4.524 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003258/12.02, allocations: 1.471 MB / 4.525 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/12.02, allocations: 8 kB / 4.525 GB, free: 10.08 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/12.02, allocations: 4 kB / 4.525 GB, free: 10.08 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/12.02, allocations: 3.984 kB / 4.525 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004901/12.03, allocations: 2.751 MB / 4.528 GB, free: 7.188 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/12.03, allocations: 4 kB / 4.528 GB, free: 7.184 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001291/12.03, allocations: 263.9 kB / 4.528 GB, free: 6.926 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001328/12.03, allocations: 304.4 kB / 4.528 GB, free: 6.625 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.486e-05/12.03, allocations: 19.98 kB / 4.528 GB, free: 6.605 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001914/12.03, allocations: 2.147 MB / 4.531 GB, free: 4.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/12.03, allocations: 8.062 kB / 4.531 GB, free: 4.312 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003578/12.04, allocations: 2.023 MB / 4.533 GB, free: 2.176 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000639/12.04, allocations: 284 kB / 4.533 GB, free: 1.879 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/12.04, allocations: 11.98 kB / 4.533 GB, free: 1.867 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008136/12.04, allocations: 51.95 kB / 4.533 GB, free: 1.816 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/12.04, allocations: 72.58 kB / 4.533 GB, free: 1.746 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/12.04, allocations: 51.97 kB / 4.533 GB, free: 1.695 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005099/12.04, allocations: 370.9 kB / 4.533 GB, free: 1.336 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/12.04, allocations: 0 / 4.533 GB, free: 1.336 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003321/12.04, allocations: 0.7726 MB / 4.534 GB, free: 0.5625 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.5133/12.56, allocations: 4.925 MB / 4.539 GB, free: 67.98 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002282/12.56, allocations: 1.076 MB / 4.54 GB, free: 67.96 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/12.56, allocations: 1 kB / 4.54 GB, free: 67.96 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001285/12.56, allocations: 0.618 MB / 4.541 GB, free: 67.96 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002075/12.56, allocations: 359 kB / 4.541 GB, free: 67.95 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005894/12.57, allocations: 2.059 MB / 4.543 GB, free: 67.61 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000596/12.57, allocations: 1.055 MB / 4.544 GB, free: 66.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001116/12.57, allocations: 281.6 kB / 4.544 GB, free: 66.89 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004975/12.57, allocations: 323.1 kB / 4.545 GB, free: 66.88 MB / 0.5105 GB Notification: Performance of SimCode: time 9.91e-07/12.57, allocations: 0.6562 kB / 4.545 GB, free: 66.88 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0853/12.66, allocations: 42.23 MB / 4.586 GB, free: 65.53 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002702/12.66, allocations: 188.7 kB / 4.586 GB, free: 65.34 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.742/16.4, allocations: 7.938 kB / 4.586 GB, free: 65.33 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat does not exist to compare? outputFormat=mat