Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.00223/0.002231, allocations: 180 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.153/2.153, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001122/0.001122, allocations: 85.94 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3098/0.3098, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.451e-05/2.462e-05, allocations: 224 / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4279/0.428, allocations: 58.85 MB / 477.2 MB, free: 5.176 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.06/11.49, allocations: 3.614 GB / 4.08 GB, free: 138.7 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003115/11.49, allocations: 95.08 kB / 4.08 GB, free: 138.7 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 2.347/13.83, allocations: 429 MB / 4.499 GB, free: 60.25 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.663e-06/13.83, allocations: 0 / 4.499 GB, free: 60.25 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 8.705e-05/13.83, allocations: 24.17 kB / 4.499 GB, free: 60.25 MB / 0.4952 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.009759/13.84, allocations: 2.341 MB / 4.501 GB, free: 59.15 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/13.84, allocations: 11.75 kB / 4.501 GB, free: 59.15 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008573/13.84, allocations: 106.2 kB / 4.501 GB, free: 59.1 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002178/13.85, allocations: 0.6346 MB / 4.502 GB, free: 58.83 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001739/13.85, allocations: 96.45 kB / 4.502 GB, free: 58.77 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002833/13.85, allocations: 38.53 kB / 4.502 GB, free: 58.77 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002509/13.85, allocations: 1.038 MB / 4.503 GB, free: 58.77 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002378/13.85, allocations: 1.027 MB / 4.504 GB, free: 58.58 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.026e-05/13.85, allocations: 7.312 kB / 4.504 GB, free: 58.58 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001504/13.85, allocations: 5.656 kB / 4.504 GB, free: 58.58 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001047/13.85, allocations: 57.19 kB / 4.504 GB, free: 58.58 MB / 0.4952 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00995/13.86, allocations: 5.026 MB / 4.509 GB, free: 55.78 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002086/13.86, allocations: 0.6962 MB / 4.509 GB, free: 55.75 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007326/13.87, allocations: 358.8 kB / 4.51 GB, free: 55.74 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001008/13.87, allocations: 1.06 MB / 4.511 GB, free: 54.62 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.565e-05/13.87, allocations: 50.41 kB / 4.511 GB, free: 54.58 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=64): time 3.427e-06/13.87, allocations: 3.375 kB / 4.511 GB, free: 54.58 MB / 0.4952 GB Notification: Performance of matching and sorting (n=76): time 0.02317/13.89, allocations: 3.818 MB / 4.515 GB, free: 54.11 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/13.89, allocations: 113.4 kB / 4.515 GB, free: 53.99 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008517/13.89, allocations: 477.3 kB / 4.515 GB, free: 53.87 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 0.0003087/13.89, allocations: 25.7 kB / 4.515 GB, free: 53.84 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002779/13.89, allocations: 452.2 kB / 4.516 GB, free: 53.54 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003212/13.89, allocations: 262.2 kB / 4.516 GB, free: 53.37 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.351e-05/13.89, allocations: 0 / 4.516 GB, free: 53.37 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 0.0001001/13.89, allocations: 356.8 kB / 4.516 GB, free: 53.05 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009581/13.89, allocations: 425.9 kB / 4.517 GB, free: 53.05 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001086/13.89, allocations: 0.685 MB / 4.517 GB, free: 52.75 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002962/13.9, allocations: 0.7321 MB / 4.518 GB, free: 52.74 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.285e-05/13.9, allocations: 3.719 kB / 4.518 GB, free: 52.74 MB / 0.4952 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.005164/13.9, allocations: 1.607 MB / 4.52 GB, free: 52.66 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/13.9, allocations: 13.16 kB / 4.52 GB, free: 52.66 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.89e-05/13.9, allocations: 9.312 kB / 4.52 GB, free: 52.66 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009079/13.91, allocations: 1.057 MB / 4.521 GB, free: 52.64 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/13.91, allocations: 153.8 kB / 4.521 GB, free: 52.64 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003352/13.92, allocations: 1.528 MB / 4.522 GB, free: 52.11 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001887/13.92, allocations: 76.31 kB / 4.522 GB, free: 52.1 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002976/13.92, allocations: 62.83 kB / 4.522 GB, free: 52.1 MB / 0.4952 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.0003913/13.92, allocations: 133.7 kB / 4.523 GB, free: 51.98 MB / 0.4952 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004569/13.92, allocations: 1.162 MB / 4.524 GB, free: 51.89 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003104/13.92, allocations: 79.58 kB / 4.524 GB, free: 51.85 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00536/13.93, allocations: 1.468 MB / 4.525 GB, free: 51.73 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.955e-05/13.93, allocations: 11.41 kB / 4.525 GB, free: 51.73 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/13.93, allocations: 7.078 kB / 4.525 GB, free: 51.73 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.481e-05/13.93, allocations: 3.891 kB / 4.525 GB, free: 51.73 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007753/13.94, allocations: 2.745 MB / 4.528 GB, free: 51.05 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/13.94, allocations: 3.969 kB / 4.528 GB, free: 51.05 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002495/13.94, allocations: 253.4 kB / 4.528 GB, free: 51.04 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002241/13.94, allocations: 314 kB / 4.528 GB, free: 51.03 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002406/13.94, allocations: 27.23 kB / 4.528 GB, free: 51.02 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002325/13.94, allocations: 2.134 MB / 4.531 GB, free: 49.24 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.296e-06/13.94, allocations: 6.188 kB / 4.531 GB, free: 49.24 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005498/13.95, allocations: 2.017 MB / 4.533 GB, free: 48.77 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008767/13.95, allocations: 284 kB / 4.533 GB, free: 48.64 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002439/13.95, allocations: 12.69 kB / 4.533 GB, free: 48.64 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00157/13.95, allocations: 54.23 kB / 4.533 GB, free: 48.64 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002219/13.95, allocations: 63.33 kB / 4.533 GB, free: 48.63 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001802/13.95, allocations: 61.55 kB / 4.533 GB, free: 48.63 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.000647/13.95, allocations: 364.5 kB / 4.533 GB, free: 48.54 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.31e-07/13.95, allocations: 0 / 4.533 GB, free: 48.54 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.003876/13.96, allocations: 0.7936 MB / 4.534 GB, free: 48.39 MB / 0.4952 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.01105/13.97, allocations: 4.917 MB / 4.539 GB, free: 46.46 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.003114/13.97, allocations: 1.078 MB / 4.54 GB, free: 46.09 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/13.97, allocations: 0 / 4.54 GB, free: 46.09 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.002264/13.97, allocations: 0.6045 MB / 4.541 GB, free: 45.9 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003371/13.98, allocations: 366 kB / 4.541 GB, free: 45.82 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008539/13.99, allocations: 2.13 MB / 4.543 GB, free: 44.93 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007104/13.99, allocations: 1.057 MB / 4.544 GB, free: 44.2 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009658/13.99, allocations: 333.3 kB / 4.544 GB, free: 43.98 MB / 0.4952 GB Notification: Performance of SimCode: time 9.82e-07/13.99, allocations: 3.656 kB / 4.544 GB, free: 43.98 MB / 0.4952 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.852/17.84, allocations: 34.35 MB / 4.578 GB, free: 29.36 MB / 0.4952 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat does not exist to compare? outputFormat=mat