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.001114/0.001114, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 221.5 MB / 230.7 MB, free: 7.57 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.0008586/0.0008585, allocations: 95.12 kB / 281.6 MB, free: 5.328 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.2361/0.2361, allocations: 44.15 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.637e-05/1.639e-05, allocations: 224 / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.155, allocations: 61.92 MB / 0.4948 GB, free: 1.148 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.28/10.44, allocations: 3.554 GB / 4.049 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/10.44, allocations: 93.5 kB / 4.049 GB, free: 133.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.663/12.1, allocations: 409.3 MB / 4.449 GB, free: 65.28 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.192e-06/12.1, allocations: 0 / 4.449 GB, free: 65.28 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.639e-05/12.1, allocations: 17.03 kB / 4.449 GB, free: 65.28 MB / 0.5105 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.007515/12.11, allocations: 2.221 MB / 4.451 GB, free: 64.14 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/12.11, allocations: 15.98 kB / 4.451 GB, free: 64.14 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005248/12.11, allocations: 105.6 kB / 4.451 GB, free: 64.09 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/12.11, allocations: 0.6356 MB / 4.452 GB, free: 63.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.702e-05/12.11, allocations: 91.34 kB / 4.452 GB, free: 63.74 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/12.11, allocations: 41.12 kB / 4.452 GB, free: 63.74 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001595/12.11, allocations: 1.031 MB / 4.453 GB, free: 63.73 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/12.12, allocations: 1.027 MB / 4.454 GB, free: 63.54 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/12.12, allocations: 3.172 kB / 4.454 GB, free: 63.54 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.035e-05/12.12, allocations: 6.688 kB / 4.454 GB, free: 63.54 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-05/12.12, allocations: 52.75 kB / 4.454 GB, free: 63.53 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005805/12.12, allocations: 5.011 MB / 4.459 GB, free: 60.71 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001206/12.12, allocations: 0.6922 MB / 4.46 GB, free: 60.68 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004276/12.12, allocations: 356.9 kB / 4.46 GB, free: 60.67 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007654/12.12, allocations: 1.126 MB / 4.461 GB, free: 59.45 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/12.12, allocations: 42.53 kB / 4.461 GB, free: 59.41 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=64): time 3.918e-06/12.12, allocations: 3.469 kB / 4.461 GB, free: 59.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76): time 0.01241/12.14, allocations: 3.672 MB / 4.465 GB, free: 58.94 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/12.14, allocations: 117.6 kB / 4.465 GB, free: 58.81 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006206/12.14, allocations: 478.4 kB / 4.465 GB, free: 58.69 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001186/12.14, allocations: 29.61 kB / 4.465 GB, free: 58.66 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002938/12.14, allocations: 412.2 kB / 4.466 GB, free: 58.42 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002557/12.14, allocations: 262.5 kB / 4.466 GB, free: 58.25 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.417e-05/12.14, allocations: 0 / 4.466 GB, free: 58.25 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001524/12.14, allocations: 379 kB / 4.466 GB, free: 57.94 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006108/12.14, allocations: 430 kB / 4.467 GB, free: 57.93 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007427/12.14, allocations: 0.6784 MB / 4.467 GB, free: 57.64 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001777/12.14, allocations: 0.6844 MB / 4.468 GB, free: 57.62 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/12.14, allocations: 3.344 kB / 4.468 GB, free: 57.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003032/12.14, allocations: 1.589 MB / 4.47 GB, free: 57.49 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/12.14, allocations: 13.09 kB / 4.47 GB, free: 57.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/12.14, allocations: 9.5 kB / 4.47 GB, free: 57.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004968/12.15, allocations: 1.055 MB / 4.471 GB, free: 57.47 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006992/12.15, allocations: 157.4 kB / 4.471 GB, free: 57.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002169/12.15, allocations: 1.51 MB / 4.472 GB, free: 56.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/12.15, allocations: 71.05 kB / 4.472 GB, free: 56.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001343/12.15, allocations: 59.17 kB / 4.472 GB, free: 56.91 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.000321/12.15, allocations: 133.6 kB / 4.472 GB, free: 56.79 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002429/12.16, allocations: 1.11 MB / 4.474 GB, free: 56.69 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/12.16, allocations: 73.72 kB / 4.474 GB, free: 56.66 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002832/12.16, allocations: 1.472 MB / 4.475 GB, free: 56.54 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/12.16, allocations: 10.03 kB / 4.475 GB, free: 56.54 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/12.16, allocations: 0 / 4.475 GB, free: 56.54 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/12.16, allocations: 3.609 kB / 4.475 GB, free: 56.54 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004102/12.16, allocations: 2.723 MB / 4.478 GB, free: 55.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/12.16, allocations: 3.438 kB / 4.478 GB, free: 55.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001188/12.17, allocations: 251.4 kB / 4.478 GB, free: 55.83 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001282/12.17, allocations: 301.8 kB / 4.478 GB, free: 55.82 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.055e-05/12.17, allocations: 25.09 kB / 4.478 GB, free: 55.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00142/12.17, allocations: 2.144 MB / 4.48 GB, free: 53.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/12.17, allocations: 7.75 kB / 4.48 GB, free: 53.95 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003077/12.17, allocations: 1.972 MB / 4.482 GB, free: 52.95 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004957/12.17, allocations: 286.5 kB / 4.483 GB, free: 52.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/12.17, allocations: 6.969 kB / 4.483 GB, free: 52.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008211/12.17, allocations: 56.06 kB / 4.483 GB, free: 52.75 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/12.17, allocations: 63.84 kB / 4.483 GB, free: 52.74 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/12.17, allocations: 48.72 kB / 4.483 GB, free: 52.73 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004976/12.17, allocations: 368.1 kB / 4.483 GB, free: 52.55 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.71e-07/12.17, allocations: 0 / 4.483 GB, free: 52.55 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00306/12.18, allocations: 0.7288 MB / 4.484 GB, free: 52.35 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.0066/12.18, allocations: 4.76 MB / 4.488 GB, free: 49.84 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002102/12.19, allocations: 1.07 MB / 4.49 GB, free: 49.47 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/12.19, allocations: 0 / 4.49 GB, free: 49.47 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001359/12.19, allocations: 0.6158 MB / 4.49 GB, free: 49.28 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002049/12.19, allocations: 357.3 kB / 4.49 GB, free: 49.21 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005636/12.19, allocations: 2.038 MB / 4.492 GB, free: 48.38 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005292/12.2, allocations: 1.062 MB / 4.493 GB, free: 47.65 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001106/12.2, allocations: 301.9 kB / 4.494 GB, free: 47.62 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004631/12.2, allocations: 319 kB / 4.494 GB, free: 47.4 MB / 0.5105 GB Notification: Performance of SimCode: time 7.81e-07/12.2, allocations: 0 / 4.494 GB, free: 47.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07551/12.27, allocations: 41.02 MB / 4.534 GB, free: 21.29 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002243/12.27, allocations: 188.1 kB / 4.534 GB, free: 21.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.729/16, allocations: 0 / 4.534 GB, free: 21.1 MB / 0.5105 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