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.001713/0.001713, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.934/1.934, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.001072/0.001072, allocations: 88.83 kB / 267.1 MB, free: 9.285 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.5211/0.5211, allocations: 43.47 MB / 358.6 MB, free: 51.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.962e-05/3.973e-05, allocations: 0 / 425.4 MB, free: 8.098 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1525, allocations: 58.85 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.878/10.03, allocations: 3.614 GB / 4.087 GB, free: 72.69 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004544/10.03, allocations: 95.94 kB / 4.087 GB, free: 72.6 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.872/11.9, allocations: 433.2 MB / 4.51 GB, free: 20.31 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.024e-06/11.9, allocations: 3.938 kB / 4.51 GB, free: 20.3 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.917e-05/11.9, allocations: 27.94 kB / 4.51 GB, free: 20.28 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.009217/11.91, allocations: 2.35 MB / 4.513 GB, free: 17.88 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.039e-05/11.91, allocations: 8.031 kB / 4.513 GB, free: 17.87 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002602/11.91, allocations: 118.5 kB / 4.513 GB, free: 17.75 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005738/11.91, allocations: 114.8 kB / 4.513 GB, free: 17.63 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001478/11.92, allocations: 0.6271 MB / 4.513 GB, free: 16.96 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/11.92, allocations: 113.4 kB / 4.513 GB, free: 16.84 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001284/11.92, allocations: 67.98 kB / 4.514 GB, free: 16.77 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001632/11.92, allocations: 1.145 MB / 4.515 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/11.92, allocations: 4 kB / 4.515 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.596e-05/11.92, allocations: 28 kB / 4.515 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.791e-05/11.92, allocations: 65.86 kB / 4.515 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/11.92, allocations: 1.12 MB / 4.516 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005903/11.92, allocations: 4.679 MB / 4.52 GB, free: 9.402 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/11.93, allocations: 0.8026 MB / 4.521 GB, free: 8.59 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000561/11.93, allocations: 414.3 kB / 4.522 GB, free: 8.184 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001214/11.93, allocations: 1.575 MB / 4.523 GB, free: 6.277 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/11.93, allocations: 39.12 kB / 4.523 GB, free: 6.227 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=70): time 3.717e-06/11.93, allocations: 0 / 4.523 GB, free: 6.227 MB / 0.4948 GB Notification: Performance of matching and sorting (n=82): time 0.01238/11.94, allocations: 3.656 MB / 4.527 GB, free: 2.523 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.091e-05/11.94, allocations: 115.6 kB / 4.527 GB, free: 2.383 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/11.94, allocations: 0.5775 MB / 4.527 GB, free: 1.801 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002504/11.94, allocations: 45.69 kB / 4.527 GB, free: 1.75 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003941/11.94, allocations: 387.5 kB / 4.528 GB, free: 1.367 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003601/11.94, allocations: 287.9 kB / 4.528 GB, free: 1.082 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.6e-05/11.94, allocations: 16 kB / 4.528 GB, free: 1.066 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002125/11.94, allocations: 394.7 kB / 4.529 GB, free: 0.6719 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007914/11.94, allocations: 445.8 kB / 4.529 GB, free: 244 kB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001235/11.95, allocations: 0.7028 MB / 4.53 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/11.95, allocations: 0.5369 MB / 4.53 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.459e-05/11.95, allocations: 4 kB / 4.53 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.00327/11.95, allocations: 1.542 MB / 4.532 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.113e-05/11.95, allocations: 8 kB / 4.532 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-05/11.95, allocations: 11.95 kB / 4.532 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007391/11.96, allocations: 1.351 MB / 4.533 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008042/11.96, allocations: 155.7 kB / 4.533 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002269/11.96, allocations: 1.42 MB / 4.535 GB, free: 10.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/11.96, allocations: 91.89 kB / 4.535 GB, free: 10.26 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002389/11.96, allocations: 67.97 kB / 4.535 GB, free: 10.19 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.000449/11.96, allocations: 160.7 kB / 4.535 GB, free: 10.03 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003023/11.96, allocations: 87.05 kB / 4.535 GB, free: 9.941 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003171/11.97, allocations: 1.516 MB / 4.536 GB, free: 8.391 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.758e-05/11.97, allocations: 11.98 kB / 4.536 GB, free: 8.379 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/11.97, allocations: 4 kB / 4.536 GB, free: 8.375 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/11.97, allocations: 3.984 kB / 4.536 GB, free: 8.371 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005242/11.97, allocations: 2.403 MB / 4.539 GB, free: 5.895 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/11.97, allocations: 4 kB / 4.539 GB, free: 5.891 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001366/11.97, allocations: 259.7 kB / 4.539 GB, free: 5.637 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001431/11.97, allocations: 320.5 kB / 4.539 GB, free: 5.32 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001317/11.97, allocations: 31.97 kB / 4.539 GB, free: 5.289 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002319/11.98, allocations: 2.163 MB / 4.541 GB, free: 2.969 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/11.98, allocations: 3.938 kB / 4.541 GB, free: 2.965 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003505/11.98, allocations: 1.897 MB / 4.543 GB, free: 1.004 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008804/11.98, allocations: 295.9 kB / 4.544 GB, free: 0.6953 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003216/11.98, allocations: 23.98 kB / 4.544 GB, free: 0.6719 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/11.98, allocations: 71.94 kB / 4.544 GB, free: 0.6016 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/11.98, allocations: 60.8 kB / 4.544 GB, free: 0.543 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001739/11.98, allocations: 55.91 kB / 4.544 GB, free: 500 kB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008356/11.98, allocations: 483.1 kB / 4.544 GB, free: 24 kB / 0.5105 GB Notification: Performance of sort global known variables: time 2.61e-07/11.98, allocations: 0 / 4.544 GB, free: 24 kB / 0.5105 GB Notification: Performance of remove unused functions: time 0.4046/12.39, allocations: 0.8294 MB / 4.545 GB, free: 59.49 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (82): * Single equations (assignments): 78 * 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.008664/12.4, allocations: 4.312 MB / 4.549 GB, free: 58.32 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002644/12.4, allocations: 1.143 MB / 4.55 GB, free: 58.31 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/12.4, allocations: 4.688 kB / 4.55 GB, free: 58.31 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001564/12.4, allocations: 0.6619 MB / 4.551 GB, free: 58.31 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002732/12.4, allocations: 469.2 kB / 4.552 GB, free: 58.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006912/12.41, allocations: 2.149 MB / 4.554 GB, free: 58 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006708/12.41, allocations: 1.06 MB / 4.555 GB, free: 57.29 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001645/12.41, allocations: 295.5 kB / 4.555 GB, free: 57.28 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007093/12.41, allocations: 344.2 kB / 4.555 GB, free: 57.28 MB / 0.5105 GB Notification: Performance of SimCode: time 1.372e-06/12.41, allocations: 6.062 kB / 4.555 GB, free: 57.28 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1195/12.53, allocations: 56.44 MB / 4.61 GB, free: 55.34 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002555/12.53, allocations: 239.2 kB / 4.611 GB, free: 55.03 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.264/16.8, allocations: 2.719 kB / 4.611 GB, free: 55.03 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