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.001317/0.001316, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.495/1.495, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009268/0.0009271, allocations: 93.48 kB / 292.1 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4261/0.4261, allocations: 44.21 MB / 387.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003642/0.0003643, allocations: 8 kB / 460 MB, free: 1.414 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4651/0.4655, allocations: 61.9 MB / 0.5096 GB, free: 38.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.595/9.06, allocations: 3.555 GB / 4.065 GB, free: 146 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000283/9.061, allocations: 106.9 kB / 4.065 GB, free: 145.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.752/10.81, allocations: 414.1 MB / 4.469 GB, free: 63.69 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.634e-06/10.81, allocations: 0 / 4.469 GB, free: 63.69 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000121/10.81, allocations: 20 kB / 4.469 GB, free: 63.68 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.01032/10.82, allocations: 2.301 MB / 4.471 GB, free: 62.61 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/10.82, allocations: 14.31 kB / 4.471 GB, free: 62.61 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005937/10.82, allocations: 128.4 kB / 4.472 GB, free: 62.57 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007756/10.82, allocations: 114.5 kB / 4.472 GB, free: 62.52 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001842/10.83, allocations: 0.6326 MB / 4.472 GB, free: 62.26 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/10.83, allocations: 115.4 kB / 4.472 GB, free: 62.19 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002564/10.83, allocations: 75.86 kB / 4.472 GB, free: 62.19 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002315/10.83, allocations: 1.142 MB / 4.474 GB, free: 62 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.435e-05/10.83, allocations: 7.094 kB / 4.474 GB, free: 62 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000153/10.83, allocations: 31.33 kB / 4.474 GB, free: 62 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-05/10.83, allocations: 54.5 kB / 4.474 GB, free: 62 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001946/10.83, allocations: 1.145 MB / 4.475 GB, free: 61.99 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006849/10.84, allocations: 4.667 MB / 4.479 GB, free: 59.71 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001578/10.84, allocations: 0.8107 MB / 4.48 GB, free: 59.68 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001224/10.84, allocations: 1.633 MB / 4.482 GB, free: 57.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/10.84, allocations: 49.27 kB / 4.482 GB, free: 57.86 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=70): time 2.655e-06/10.84, allocations: 0 / 4.482 GB, free: 57.86 MB / 0.5261 GB Notification: Performance of matching and sorting (n=82): time 0.01366/10.85, allocations: 4.274 MB / 4.486 GB, free: 57.29 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.737e-05/10.86, allocations: 111 kB / 4.486 GB, free: 57.17 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000957/10.86, allocations: 0.5869 MB / 4.487 GB, free: 57.04 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001311/10.86, allocations: 40.05 kB / 4.487 GB, free: 57.01 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000303/10.86, allocations: 385 kB / 4.487 GB, free: 56.81 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002774/10.86, allocations: 286.4 kB / 4.487 GB, free: 56.63 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.462e-05/10.86, allocations: 21.38 kB / 4.487 GB, free: 56.63 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001737/10.86, allocations: 394.2 kB / 4.488 GB, free: 56.32 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009612/10.86, allocations: 490.6 kB / 4.488 GB, free: 56.32 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001057/10.86, allocations: 0.7534 MB / 4.489 GB, free: 56.02 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/10.86, allocations: 0.5866 MB / 4.489 GB, free: 56.01 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/10.86, allocations: 6.594 kB / 4.489 GB, free: 56.01 MB / 0.5261 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003282/10.86, allocations: 1.657 MB / 4.491 GB, free: 55.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/10.86, allocations: 11.62 kB / 4.491 GB, free: 55.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/10.86, allocations: 13.48 kB / 4.491 GB, free: 55.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007642/10.87, allocations: 1.424 MB / 4.493 GB, free: 55.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008013/10.87, allocations: 156.2 kB / 4.493 GB, free: 55.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002801/10.87, allocations: 1.544 MB / 4.494 GB, free: 55.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/10.88, allocations: 91.88 kB / 4.494 GB, free: 55.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002379/10.88, allocations: 59.42 kB / 4.494 GB, free: 55.34 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 () * Number of clocked 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.001018/10.88, allocations: 296.4 kB / 4.495 GB, free: 55.22 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003615/10.88, allocations: 87.73 kB / 4.495 GB, free: 55.18 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003469/10.88, allocations: 1.682 MB / 4.496 GB, free: 55.04 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/10.88, allocations: 9.719 kB / 4.496 GB, free: 55.04 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/10.88, allocations: 0 / 4.496 GB, free: 55.04 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-06/10.88, allocations: 6.766 kB / 4.496 GB, free: 55.04 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004887/10.89, allocations: 2.648 MB / 4.499 GB, free: 54.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.984e-06/10.89, allocations: 0 / 4.499 GB, free: 54.55 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001275/10.89, allocations: 263.9 kB / 4.499 GB, free: 54.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001896/10.89, allocations: 399.9 kB / 4.5 GB, free: 54.54 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/10.89, allocations: 35.66 kB / 4.5 GB, free: 54.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002106/10.89, allocations: 2.277 MB / 4.502 GB, free: 52.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/10.89, allocations: 3.25 kB / 4.502 GB, free: 52.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003688/10.9, allocations: 2.094 MB / 4.504 GB, free: 52.33 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008172/10.9, allocations: 305.3 kB / 4.504 GB, free: 52.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002606/10.9, allocations: 22.81 kB / 4.504 GB, free: 52.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/10.9, allocations: 75.77 kB / 4.504 GB, free: 52.19 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/10.9, allocations: 64.62 kB / 4.504 GB, free: 52.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001423/10.9, allocations: 48.69 kB / 4.504 GB, free: 52.18 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007289/10.9, allocations: 483.7 kB / 4.505 GB, free: 52.09 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.31e-07/10.9, allocations: 0 / 4.505 GB, free: 52.09 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003443/10.9, allocations: 0.7838 MB / 4.506 GB, free: 51.95 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 () * Number of clocked 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.008265/10.91, allocations: 4.46 MB / 4.51 GB, free: 50.42 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002464/10.91, allocations: 1.249 MB / 4.511 GB, free: 50.36 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/10.91, allocations: 0 / 4.511 GB, free: 50.36 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001492/10.91, allocations: 0.6971 MB / 4.512 GB, free: 50.34 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002517/10.92, allocations: 468.9 kB / 4.512 GB, free: 50.34 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0143/10.93, allocations: 11.93 MB / 4.524 GB, free: 42.89 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006178/10.93, allocations: 1.061 MB / 4.525 GB, free: 42.16 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001407/10.93, allocations: 336.8 kB / 4.525 GB, free: 42.14 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005406/10.93, allocations: 337.1 kB / 4.526 GB, free: 41.91 MB / 0.5261 GB Notification: Performance of SimCode: time 1.233e-06/10.93, allocations: 0 / 4.526 GB, free: 41.91 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08972/11.02, allocations: 52.21 MB / 4.577 GB, free: 22.73 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001981/11.02, allocations: 260.4 kB / 4.577 GB, free: 22.38 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.029/15.05, allocations: 0 / 4.577 GB, free: 22.38 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