Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 180.7 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 221.4 MB / 236 MB, free: 2.957 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 88.09 kB / 287 MB, free: 236 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2424/0.2424, allocations: 44.15 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.567e-05/3.58e-05, allocations: 224 / 451.9 MB, free: 9.305 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1692, allocations: 61.92 MB / 0.5018 GB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.348/9.517, allocations: 3.555 GB / 4.057 GB, free: 22.04 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/9.518, allocations: 95.94 kB / 4.057 GB, free: 21.95 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.736/11.25, allocations: 413.4 MB / 4.461 GB, free: 29.34 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.433e-06/11.25, allocations: 0 / 4.461 GB, free: 29.34 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.932e-05/11.25, allocations: 24.16 kB / 4.461 GB, free: 29.32 MB / 0.5261 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.0096/11.26, allocations: 2.217 MB / 4.463 GB, free: 27.05 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/11.26, allocations: 8.031 kB / 4.463 GB, free: 27.05 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00051/11.26, allocations: 126.5 kB / 4.463 GB, free: 26.91 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008038/11.26, allocations: 111 kB / 4.463 GB, free: 26.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001875/11.27, allocations: 0.627 MB / 4.464 GB, free: 26.13 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001447/11.27, allocations: 125.3 kB / 4.464 GB, free: 26 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002815/11.27, allocations: 67.98 kB / 4.464 GB, free: 25.93 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002221/11.27, allocations: 1.129 MB / 4.465 GB, free: 24.74 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.103e-05/11.27, allocations: 7.844 kB / 4.465 GB, free: 24.73 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001721/11.27, allocations: 36 kB / 4.465 GB, free: 24.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.247e-05/11.27, allocations: 57.97 kB / 4.465 GB, free: 24.64 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001921/11.27, allocations: 1.116 MB / 4.466 GB, free: 23.52 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006989/11.28, allocations: 4.667 MB / 4.471 GB, free: 18.58 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001518/11.28, allocations: 0.7967 MB / 4.471 GB, free: 17.77 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005487/11.28, allocations: 410.4 kB / 4.472 GB, free: 17.37 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001189/11.28, allocations: 1.634 MB / 4.473 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.669e-05/11.28, allocations: 43.12 kB / 4.473 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=70): time 3.617e-06/11.28, allocations: 4 kB / 4.473 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of matching and sorting (n=82): time 0.01152/11.29, allocations: 3.624 MB / 4.477 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/11.29, allocations: 115.6 kB / 4.477 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008676/11.29, allocations: 0.5814 MB / 4.478 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001394/11.29, allocations: 45.7 kB / 4.478 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002419/11.29, allocations: 387.4 kB / 4.478 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000244/11.29, allocations: 287.9 kB / 4.478 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.337e-05/11.29, allocations: 23.94 kB / 4.478 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001427/11.29, allocations: 386.8 kB / 4.479 GB, free: 9.801 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006479/11.3, allocations: 445.8 kB / 4.479 GB, free: 9.367 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007879/11.3, allocations: 0.709 MB / 4.48 GB, free: 8.539 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008032/11.3, allocations: 0.533 MB / 4.48 GB, free: 8.008 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.266e-06/11.3, allocations: 7.938 kB / 4.48 GB, free: 8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002367/11.3, allocations: 1.535 MB / 4.482 GB, free: 6.457 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/11.3, allocations: 8 kB / 4.482 GB, free: 6.449 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/11.3, allocations: 8 kB / 4.482 GB, free: 6.441 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006646/11.31, allocations: 1.328 MB / 4.483 GB, free: 5.109 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007554/11.31, allocations: 151.7 kB / 4.483 GB, free: 4.961 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001896/11.31, allocations: 1.416 MB / 4.485 GB, free: 3.512 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/11.31, allocations: 95.81 kB / 4.485 GB, free: 3.418 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002133/11.31, allocations: 55.98 kB / 4.485 GB, free: 3.363 MB / 0.5261 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.0004234/11.31, allocations: 176.6 kB / 4.485 GB, free: 3.184 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003196/11.31, allocations: 83.06 kB / 4.485 GB, free: 3.102 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002829/11.31, allocations: 1.547 MB / 4.487 GB, free: 1.52 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.7e-05/11.31, allocations: 8 kB / 4.487 GB, free: 1.512 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/11.31, allocations: 0 / 4.487 GB, free: 1.512 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/11.31, allocations: 7.984 kB / 4.487 GB, free: 1.504 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4825/11.8, allocations: 2.495 MB / 4.489 GB, free: 67.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.808e-06/11.8, allocations: 2.062 kB / 4.489 GB, free: 67.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001439/11.8, allocations: 259.2 kB / 4.489 GB, free: 67.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00151/11.8, allocations: 311.3 kB / 4.49 GB, free: 67.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001068/11.8, allocations: 34.05 kB / 4.49 GB, free: 67.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001814/11.8, allocations: 2.162 MB / 4.492 GB, free: 66.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/11.8, allocations: 6.734 kB / 4.492 GB, free: 66.08 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003759/11.81, allocations: 1.931 MB / 4.494 GB, free: 65.79 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000705/11.81, allocations: 299.4 kB / 4.494 GB, free: 65.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/11.81, allocations: 21.66 kB / 4.494 GB, free: 65.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00083/11.81, allocations: 73.81 kB / 4.494 GB, free: 65.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/11.81, allocations: 62.78 kB / 4.494 GB, free: 65.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001205/11.81, allocations: 48.14 kB / 4.494 GB, free: 65.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008183/11.81, allocations: 479.9 kB / 4.495 GB, free: 65.59 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/11.81, allocations: 3.219 kB / 4.495 GB, free: 65.59 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003824/11.81, allocations: 0.7856 MB / 4.495 GB, free: 65.59 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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.008475/11.82, allocations: 4.288 MB / 4.5 GB, free: 64.27 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002546/11.82, allocations: 1.145 MB / 4.501 GB, free: 64.25 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.235e-06/11.82, allocations: 0 / 4.501 GB, free: 64.25 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001586/11.82, allocations: 0.6465 MB / 4.501 GB, free: 64.24 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002711/11.83, allocations: 468.8 kB / 4.502 GB, free: 64.24 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006792/11.83, allocations: 2.14 MB / 4.504 GB, free: 63.91 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008123/11.84, allocations: 1.064 MB / 4.505 GB, free: 63.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001572/11.84, allocations: 338.4 kB / 4.505 GB, free: 63.19 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005556/11.84, allocations: 331.1 kB / 4.505 GB, free: 63.18 MB / 0.5261 GB Notification: Performance of SimCode: time 1.643e-06/11.84, allocations: 0 / 4.505 GB, free: 63.18 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1061/11.94, allocations: 54.84 MB / 4.559 GB, free: 61.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003111/11.94, allocations: 235.8 kB / 4.559 GB, free: 61.29 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.042/15.99, allocations: 4 kB / 4.559 GB, free: 61.29 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat does not exist to compare? outputFormat=mat