Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",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.001379/0.001386, allocations: 179.6 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.501/1.501, allocations: 221.3 MB / 236 MB, free: 2.918 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.001006/0.001006, allocations: 92.05 kB / 287 MB, free: 240 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.2425/0.2425, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.564e-05/3.583e-05, allocations: 4.156 kB / 451.9 MB, free: 9.316 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1576, allocations: 61.92 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.818/1.976, allocations: 0.5217 GB / 1.023 GB, free: 98.72 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003378/1.976, allocations: 99 kB / 1.024 GB, free: 98.67 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.9283/2.904, allocations: 206.4 MB / 1.225 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.513e-06/2.904, allocations: 0 / 1.225 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.769e-05/2.904, allocations: 20 kB / 1.225 GB, free: 109.4 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002995/2.907, allocations: 1.041 MB / 1.226 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/2.907, allocations: 8.031 kB / 1.226 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001377/2.908, allocations: 98.42 kB / 1.226 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008215/2.908, allocations: 135 kB / 1.226 GB, free: 108 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/2.909, allocations: 0.5441 MB / 1.227 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.826e-05/2.91, allocations: 96.41 kB / 1.227 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.53e-05/2.91, allocations: 48 kB / 1.227 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/2.911, allocations: 0.8072 MB / 1.228 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/2.911, allocations: 3.938 kB / 1.228 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.293e-05/2.911, allocations: 24 kB / 1.228 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.842e-05/2.911, allocations: 36.98 kB / 1.228 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008285/2.912, allocations: 0.6089 MB / 1.229 GB, free: 105.7 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.003786/2.916, allocations: 3.947 MB / 1.232 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004422/2.916, allocations: 331.5 kB / 1.233 GB, free: 101.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002173/2.916, allocations: 165.3 kB / 1.233 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001391/2.916, allocations: 89.38 kB / 1.233 GB, free: 101 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/2.916, allocations: 38.84 kB / 1.233 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 3.156e-06/2.916, allocations: 4 kB / 1.233 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39): time 0.005077/2.922, allocations: 1.52 MB / 1.234 GB, free: 99.33 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.888e-05/2.922, allocations: 132.5 kB / 1.235 GB, free: 99.17 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000638/2.922, allocations: 0.5306 MB / 1.235 GB, free: 98.63 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.997e-05/2.922, allocations: 33.7 kB / 1.235 GB, free: 98.59 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002235/2.923, allocations: 370.4 kB / 1.236 GB, free: 98.23 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000112/2.923, allocations: 145.5 kB / 1.236 GB, free: 98.09 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/2.923, allocations: 12 kB / 1.236 GB, free: 98.07 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001292/2.923, allocations: 374.8 kB / 1.236 GB, free: 97.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002777/2.923, allocations: 193.5 kB / 1.236 GB, free: 97.51 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004393/2.924, allocations: 0.4948 MB / 1.237 GB, free: 96.87 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003764/2.924, allocations: 288.1 kB / 1.237 GB, free: 96.59 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/2.924, allocations: 7.953 kB / 1.237 GB, free: 96.58 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001177/2.925, allocations: 0.8567 MB / 1.238 GB, free: 95.71 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/2.925, allocations: 12 kB / 1.238 GB, free: 95.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/2.925, allocations: 12.16 kB / 1.238 GB, free: 95.69 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001283/2.927, allocations: 316.6 kB / 1.238 GB, free: 95.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003613/2.927, allocations: 123.8 kB / 1.238 GB, free: 95.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008892/2.928, allocations: 0.9176 MB / 1.239 GB, free: 94.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005883/2.928, allocations: 48.05 kB / 1.239 GB, free: 94.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.525e-05/2.928, allocations: 63.98 kB / 1.239 GB, free: 94.21 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (67): * Single equations (assignments): 66 * 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 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0001756/2.929, allocations: 152.7 kB / 1.239 GB, free: 94.05 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/2.929, allocations: 79.11 kB / 1.239 GB, free: 93.97 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001584/2.93, allocations: 0.8422 MB / 1.24 GB, free: 93.11 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/2.93, allocations: 4 kB / 1.24 GB, free: 93.11 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/2.93, allocations: 4 kB / 1.24 GB, free: 93.11 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/2.93, allocations: 3.984 kB / 1.24 GB, free: 93.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001709/2.932, allocations: 1.425 MB / 1.242 GB, free: 91.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/2.932, allocations: 0 / 1.242 GB, free: 91.55 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009499/2.933, allocations: 211.8 kB / 1.242 GB, free: 91.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.68e-05/2.933, allocations: 24.84 kB / 1.242 GB, free: 91.32 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.24e-05/2.933, allocations: 28.17 kB / 1.242 GB, free: 91.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001486/2.935, allocations: 2.687 MB / 1.245 GB, free: 88.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/2.935, allocations: 4.031 kB / 1.245 GB, free: 88.33 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009926/2.936, allocations: 0.8782 MB / 1.245 GB, free: 87.38 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002734/2.936, allocations: 184.3 kB / 1.246 GB, free: 87.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.277e-05/2.936, allocations: 12 kB / 1.246 GB, free: 87.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004166/2.937, allocations: 31.89 kB / 1.246 GB, free: 87.14 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.803e-05/2.937, allocations: 39.95 kB / 1.246 GB, free: 87.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.258e-05/2.937, allocations: 39.98 kB / 1.246 GB, free: 87.06 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000453/2.937, allocations: 427.1 kB / 1.246 GB, free: 86.64 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2e-07/2.937, allocations: 3.938 kB / 1.246 GB, free: 86.64 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001361/2.939, allocations: 327.9 kB / 1.246 GB, free: 86.32 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003025/2.942, allocations: 2.658 MB / 1.249 GB, free: 83.73 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001149/2.943, allocations: 0.5314 MB / 1.25 GB, free: 83.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/2.943, allocations: 0 / 1.25 GB, free: 83.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007992/2.944, allocations: 394.3 kB / 1.25 GB, free: 82.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001622/2.945, allocations: 341.4 kB / 1.25 GB, free: 82.47 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002257/2.947, allocations: 1.157 MB / 1.251 GB, free: 81.26 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/2.948, allocations: 0.9456 MB / 1.252 GB, free: 80.29 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00116/2.949, allocations: 462.4 kB / 1.253 GB, free: 79.83 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004914/2.95, allocations: 283.3 kB / 1.253 GB, free: 79.55 MB / 0.5261 GB Notification: Performance of SimCode: time 1.452e-06/2.95, allocations: 0 / 1.253 GB, free: 79.55 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07015/3.02, allocations: 37.46 MB / 1.29 GB, free: 42.27 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002464/3.02, allocations: 240.1 kB / 1.29 GB, free: 41.93 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.568/6.588, allocations: 0 / 1.29 GB, free: 41.93 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1)