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.001588/0.001594, allocations: 182.8 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.186/2.186, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001197/0.001197, allocations: 102.8 kB / 270.9 MB, free: 8.363 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.5276/0.5276, allocations: 43.55 MB / 362.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005377/0.0005378, allocations: 12 kB / 431.5 MB, free: 6.074 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1435, allocations: 58.85 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.5978/0.7413, allocations: 155.7 MB / 0.6309 GB, free: 11.13 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.02322/0.7646, allocations: 10.65 MB / 0.6413 GB, free: 472 kB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001378/0.7661, allocations: 23.81 kB / 0.6413 GB, free: 448 kB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002036/0.7682, allocations: 350.3 kB / 0.6416 GB, free: 96 kB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01071/0.7789, allocations: 1.98 MB / 0.6436 GB, free: 14.11 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008337/0.7873, allocations: 1.706 MB / 0.6452 GB, free: 12.42 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.003392/0.7907, allocations: 1.22 MB / 0.6464 GB, free: 11.2 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001455/0.7923, allocations: 0.5031 MB / 0.6469 GB, free: 10.69 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00532/0.7976, allocations: 1.383 MB / 0.6483 GB, free: 9.301 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001978/0.7997, allocations: 0.6076 MB / 0.6489 GB, free: 8.691 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003307/0.8, allocations: 44 kB / 0.6489 GB, free: 8.648 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0134/0.8135, allocations: 4.494 MB / 0.6533 GB, free: 4.148 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009772/0.8145, allocations: 351.1 kB / 0.6536 GB, free: 3.805 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005049/0.815, allocations: 205.3 kB / 0.6538 GB, free: 3.598 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007561/0.8226, allocations: 2.409 MB / 0.6562 GB, free: 1.188 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.8227, allocations: 0 / 0.6562 GB, free: 1.188 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.837e-06/0.8227, allocations: 0 / 0.6562 GB, free: 1.188 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.384e-05/0.8227, allocations: 0 / 0.6562 GB, free: 1.188 MB / 474.7 MB 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.008157/0.8309, allocations: 1.533 MB / 0.6577 GB, free: 15.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.272e-05/0.831, allocations: 12.02 kB / 0.6577 GB, free: 15.59 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006716/0.8317, allocations: 134.5 kB / 0.6578 GB, free: 15.45 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.8329, allocations: 114.8 kB / 0.6579 GB, free: 15.33 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002849/0.8358, allocations: 0.5745 MB / 0.6585 GB, free: 14.71 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003284/0.8362, allocations: 113.4 kB / 0.6586 GB, free: 14.59 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005157/0.8367, allocations: 72 kB / 0.6587 GB, free: 14.52 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006024/0.8428, allocations: 1.157 MB / 0.6598 GB, free: 13.32 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.583e-05/0.8429, allocations: 0 / 0.6598 GB, free: 13.32 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003563/0.8433, allocations: 39.98 kB / 0.6598 GB, free: 13.28 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000191/0.8435, allocations: 53.97 kB / 0.6599 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004585/0.8481, allocations: 1.171 MB / 0.661 GB, free: 12.05 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01212/0.8603, allocations: 5.033 MB / 0.666 GB, free: 6.691 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003122/0.8634, allocations: 0.8303 MB / 0.6668 GB, free: 5.855 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001925/0.8654, allocations: 1.56 MB / 0.6683 GB, free: 3.965 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.281e-05/0.8655, allocations: 42.12 kB / 0.6683 GB, free: 3.918 MB / 490.7 MB Notification: Performance of pre-optimization done (n=70): time 4.208e-06/0.8655, allocations: 0 / 0.6683 GB, free: 3.918 MB / 490.7 MB Notification: Performance of matching and sorting (n=82): time 0.3519/1.217, allocations: 4.15 MB / 0.6724 GB, free: 148.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.51e-05/1.218, allocations: 113.7 kB / 0.6725 GB, free: 148.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/1.219, allocations: 0.6572 MB / 0.6731 GB, free: 148.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002772/1.219, allocations: 43.86 kB / 0.6732 GB, free: 148.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003414/1.22, allocations: 413.3 kB / 0.6736 GB, free: 148.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004253/1.22, allocations: 290.4 kB / 0.6738 GB, free: 148 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/1.22, allocations: 17.97 kB / 0.6739 GB, free: 148 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/1.22, allocations: 349.9 kB / 0.6742 GB, free: 147.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002035/1.222, allocations: 0.4899 MB / 0.6747 GB, free: 147.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002106/1.225, allocations: 0.7529 MB / 0.6754 GB, free: 147.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002138/1.227, allocations: 0.5939 MB / 0.676 GB, free: 147.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.731e-05/1.227, allocations: 2.125 kB / 0.676 GB, free: 147.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.006474/1.233, allocations: 1.649 MB / 0.6776 GB, free: 147.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.963e-05/1.233, allocations: 10.66 kB / 0.6776 GB, free: 147.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.754e-05/1.233, allocations: 7.656 kB / 0.6776 GB, free: 147.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01412/1.248, allocations: 1.388 MB / 0.679 GB, free: 147.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001321/1.249, allocations: 166.2 kB / 0.6791 GB, free: 147.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00454/1.253, allocations: 1.55 MB / 0.6806 GB, free: 146.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001848/1.255, allocations: 91.69 kB / 0.6807 GB, free: 146.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002071/1.256, allocations: 63.86 kB / 0.6808 GB, free: 146.7 MB / 490.7 MB 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.00072/1.256, allocations: 294.9 kB / 0.6811 GB, free: 146.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002894/1.257, allocations: 82 kB / 0.6812 GB, free: 146.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005426/1.262, allocations: 1.662 MB / 0.6828 GB, free: 145.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.129e-05/1.262, allocations: 9.5 kB / 0.6828 GB, free: 145.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/1.262, allocations: 0 / 0.6828 GB, free: 145.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-05/1.262, allocations: 10.41 kB / 0.6828 GB, free: 145.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007376/1.27, allocations: 2.562 MB / 0.6853 GB, free: 144.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-05/1.27, allocations: 2.469 kB / 0.6853 GB, free: 144.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002661/1.272, allocations: 259.4 kB / 0.6855 GB, free: 144.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003485/1.276, allocations: 405.4 kB / 0.6859 GB, free: 144.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002377/1.276, allocations: 31.88 kB / 0.686 GB, free: 144.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003547/1.28, allocations: 2.274 MB / 0.6882 GB, free: 142.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/1.28, allocations: 3.188 kB / 0.6882 GB, free: 142.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00625/1.286, allocations: 2.089 MB / 0.6902 GB, free: 141.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009113/1.287, allocations: 302.3 kB / 0.6905 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002631/1.287, allocations: 29.02 kB / 0.6905 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001643/1.289, allocations: 75.34 kB / 0.6906 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002853/1.289, allocations: 65.55 kB / 0.6907 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000192/1.289, allocations: 56.61 kB / 0.6907 GB, free: 141.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008807/1.29, allocations: 479.6 kB / 0.6912 GB, free: 141.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.21e-07/1.29, allocations: 0 / 0.6912 GB, free: 141.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002982/1.293, allocations: 0.7034 MB / 0.6919 GB, free: 141 MB / 490.7 MB 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 () * 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.01001/1.303, allocations: 3.758 MB / 0.6955 GB, free: 139.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004569/1.308, allocations: 1.254 MB / 0.6968 GB, free: 138.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/1.308, allocations: 4.344 kB / 0.6968 GB, free: 138.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002994/1.311, allocations: 0.7088 MB / 0.6975 GB, free: 138.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003981/1.315, allocations: 463.5 kB / 0.6979 GB, free: 138.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02128/1.337, allocations: 11.96 MB / 0.7096 GB, free: 129.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006736/1.337, allocations: 1.057 MB / 0.7106 GB, free: 129.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001039/1.338, allocations: 348.9 kB / 0.711 GB, free: 128.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.102e-06/1.338, allocations: 0 / 0.711 GB, free: 128.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.768/5.106, allocations: 32.87 MB / 0.743 GB, free: 113.2 MB / 490.7 MB (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