Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.IdealGases.Air,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",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.001539/0.001539, allocations: 178.8 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.528/1.528, allocations: 221.3 MB / 236 MB, free: 2.949 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.0008538/0.000854, allocations: 98.47 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.2589/0.2589, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.922e-05/3.925e-05, allocations: 4.219 kB / 451.9 MB, free: 9.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1868, allocations: 61.92 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.847/2.033, allocations: 0.5217 GB / 1.023 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/2.034, allocations: 93.78 kB / 1.024 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.9203/2.954, allocations: 206.4 MB / 1.225 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.924e-06/2.954, allocations: 0 / 1.225 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001277/2.954, allocations: 21.27 kB / 1.225 GB, free: 117.9 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.004147/2.958, allocations: 1.034 MB / 1.226 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.054e-05/2.959, allocations: 7.625 kB / 1.226 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003558/2.959, allocations: 100.7 kB / 1.226 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001221/2.96, allocations: 131.5 kB / 1.226 GB, free: 117 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001703/2.962, allocations: 0.5441 MB / 1.227 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/2.962, allocations: 98.86 kB / 1.227 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001825/2.962, allocations: 56.47 kB / 1.227 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/2.964, allocations: 0.8053 MB / 1.228 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.947e-05/2.964, allocations: 0 / 1.228 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000121/2.964, allocations: 31.28 kB / 1.228 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.936e-05/2.964, allocations: 43.95 kB / 1.228 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/2.965, allocations: 0.6012 MB / 1.229 GB, free: 115.6 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.004664/2.97, allocations: 3.938 MB / 1.232 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00068/2.97, allocations: 329.9 kB / 1.233 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003437/2.971, allocations: 166.5 kB / 1.233 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000147/2.971, allocations: 88.62 kB / 1.233 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/2.971, allocations: 38.72 kB / 1.233 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 2.936e-06/2.971, allocations: 0 / 1.233 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39): time 0.005642/2.977, allocations: 1.53 MB / 1.234 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.559e-05/2.977, allocations: 132.3 kB / 1.235 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009152/2.978, allocations: 0.5276 MB / 1.235 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.523e-05/2.978, allocations: 37.7 kB / 1.235 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002596/2.978, allocations: 362.6 kB / 1.235 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/2.978, allocations: 149.5 kB / 1.236 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.896e-05/2.978, allocations: 16 kB / 1.236 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001208/2.978, allocations: 370.8 kB / 1.236 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003114/2.979, allocations: 193.5 kB / 1.236 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000472/2.979, allocations: 0.4948 MB / 1.237 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004518/2.98, allocations: 288.2 kB / 1.237 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/2.98, allocations: 4 kB / 1.237 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001447/2.981, allocations: 0.8598 MB / 1.238 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/2.981, allocations: 12.92 kB / 1.238 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/2.981, allocations: 8 kB / 1.238 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001347/2.982, allocations: 308.6 kB / 1.238 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003935/2.983, allocations: 123.8 kB / 1.238 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009552/2.984, allocations: 0.9253 MB / 1.239 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007704/2.985, allocations: 44.05 kB / 1.239 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/2.985, allocations: 71.98 kB / 1.239 GB, free: 105.8 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.000218/2.985, allocations: 156.7 kB / 1.239 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001735/2.985, allocations: 67.16 kB / 1.239 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001679/2.987, allocations: 0.8461 MB / 1.24 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/2.987, allocations: 7.953 kB / 1.24 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/2.987, allocations: 4 kB / 1.24 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/2.987, allocations: 7.969 kB / 1.24 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002227/2.989, allocations: 1.431 MB / 1.242 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/2.989, allocations: 4 kB / 1.242 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/2.99, allocations: 203.8 kB / 1.242 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001184/2.99, allocations: 28.84 kB / 1.242 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.347e-05/2.99, allocations: 23.98 kB / 1.242 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001813/2.992, allocations: 2.676 MB / 1.245 GB, free: 99.94 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/2.992, allocations: 0 / 1.245 GB, free: 99.94 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/2.993, allocations: 0.8784 MB / 1.245 GB, free: 98.99 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004138/2.994, allocations: 176.3 kB / 1.246 GB, free: 98.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001737/2.994, allocations: 12 kB / 1.246 GB, free: 98.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000561/2.995, allocations: 35.91 kB / 1.246 GB, free: 98.75 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/2.995, allocations: 35.95 kB / 1.246 GB, free: 98.71 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.222e-05/2.995, allocations: 43.98 kB / 1.246 GB, free: 98.67 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006705/2.996, allocations: 423.1 kB / 1.246 GB, free: 98.26 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.91e-07/2.996, allocations: 0 / 1.246 GB, free: 98.26 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001872/2.997, allocations: 331.8 kB / 1.246 GB, free: 97.94 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.003601/3.001, allocations: 2.667 MB / 1.249 GB, free: 95.33 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0012/3.002, allocations: 0.5392 MB / 1.25 GB, free: 94.79 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/3.002, allocations: 0 / 1.25 GB, free: 94.79 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008845/3.003, allocations: 398.3 kB / 1.25 GB, free: 94.39 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001796/3.005, allocations: 337.7 kB / 1.25 GB, free: 94.07 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002885/3.008, allocations: 1.151 MB / 1.251 GB, free: 92.86 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004364/3.008, allocations: 0.9417 MB / 1.252 GB, free: 91.89 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001311/3.01, allocations: 466.4 kB / 1.253 GB, free: 91.43 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005407/3.01, allocations: 283.3 kB / 1.253 GB, free: 91.15 MB / 0.5261 GB Notification: Performance of SimCode: time 2.074e-06/3.01, allocations: 0 / 1.253 GB, free: 91.15 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07421/3.084, allocations: 37.46 MB / 1.29 GB, free: 53.88 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002807/3.085, allocations: 244.1 kB / 1.29 GB, free: 53.54 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.604/6.689, allocations: 4.062 kB / 1.29 GB, free: 53.54 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1)