Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001066/0.001066, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.275/1.275, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009175/0.0009175, allocations: 92.22 kB / 292.1 MB, free: 5.973 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1918/0.1918, allocations: 45.15 MB / 389.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.652e-05/2.654e-05, allocations: 4 kB / 460.5 MB, free: 69.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1078, allocations: 63.25 MB / 0.5115 GB, free: 6.684 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.343/1.451, allocations: 0.5227 GB / 1.034 GB, free: 137.6 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/1.451, allocations: 96.73 kB / 1.034 GB, free: 137.5 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.6768/2.128, allocations: 207.2 MB / 1.237 GB, free: 129.7 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.142e-06/2.128, allocations: 0 / 1.237 GB, free: 129.7 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.091e-05/2.128, allocations: 21.34 kB / 1.237 GB, free: 129.7 MB / 0.5417 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.002179/2.13, allocations: 1.05 MB / 1.238 GB, free: 129.1 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/2.13, allocations: 7.719 kB / 1.238 GB, free: 129.1 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000107/2.13, allocations: 95.97 kB / 1.238 GB, free: 129.1 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006988/2.131, allocations: 135.2 kB / 1.238 GB, free: 129.1 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008624/2.132, allocations: 0.5359 MB / 1.238 GB, free: 128.8 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.079e-05/2.132, allocations: 106 kB / 1.238 GB, free: 128.7 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.859e-05/2.132, allocations: 48.94 kB / 1.239 GB, free: 128.7 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/2.133, allocations: 0.8039 MB / 1.239 GB, free: 128.5 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/2.133, allocations: 3.938 kB / 1.239 GB, free: 128.5 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.076e-05/2.133, allocations: 28.48 kB / 1.239 GB, free: 128.5 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.851e-05/2.133, allocations: 40.56 kB / 1.239 GB, free: 128.5 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008018/2.134, allocations: 0.6039 MB / 1.24 GB, free: 128.5 MB / 0.5417 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.003418/2.137, allocations: 3.964 MB / 1.244 GB, free: 125.7 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004371/2.138, allocations: 331.6 kB / 1.244 GB, free: 125.6 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000222/2.138, allocations: 167.3 kB / 1.244 GB, free: 125.5 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001278/2.138, allocations: 95.8 kB / 1.244 GB, free: 125.4 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/2.138, allocations: 38.62 kB / 1.244 GB, free: 125.4 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=34): time 2.786e-06/2.138, allocations: 2.906 kB / 1.244 GB, free: 125.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=39): time 0.00496/2.143, allocations: 1.518 MB / 1.246 GB, free: 124.6 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/2.143, allocations: 136.4 kB / 1.246 GB, free: 124.5 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005992/2.144, allocations: 0.5276 MB / 1.247 GB, free: 124.2 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.517e-05/2.144, allocations: 37.55 kB / 1.247 GB, free: 124.2 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/2.144, allocations: 360.7 kB / 1.247 GB, free: 123.9 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 9.457e-05/2.144, allocations: 143.3 kB / 1.247 GB, free: 123.8 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/2.144, allocations: 15.94 kB / 1.247 GB, free: 123.8 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.189e-05/2.144, allocations: 377.5 kB / 1.247 GB, free: 123.4 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002679/2.145, allocations: 189.6 kB / 1.248 GB, free: 123.4 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003868/2.145, allocations: 0.5014 MB / 1.248 GB, free: 122.9 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003707/2.145, allocations: 289.9 kB / 1.248 GB, free: 122.8 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/2.145, allocations: 0 / 1.248 GB, free: 122.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001087/2.147, allocations: 0.8575 MB / 1.249 GB, free: 122.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/2.147, allocations: 8.469 kB / 1.249 GB, free: 122.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/2.147, allocations: 14.41 kB / 1.249 GB, free: 122.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001179/2.148, allocations: 316.9 kB / 1.25 GB, free: 122.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003378/2.148, allocations: 124.7 kB / 1.25 GB, free: 122.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007971/2.149, allocations: 0.9223 MB / 1.251 GB, free: 121.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005216/2.149, allocations: 48.38 kB / 1.251 GB, free: 121.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.519e-05/2.15, allocations: 70.55 kB / 1.251 GB, free: 121.7 MB / 0.5417 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.0001354/2.15, allocations: 150.2 kB / 1.251 GB, free: 121.6 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.384e-05/2.15, allocations: 76.91 kB / 1.251 GB, free: 121.5 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001399/2.151, allocations: 0.854 MB / 1.252 GB, free: 121.3 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/2.151, allocations: 6.344 kB / 1.252 GB, free: 121.3 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/2.151, allocations: 0 / 1.252 GB, free: 121.3 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/2.151, allocations: 7.469 kB / 1.252 GB, free: 121.2 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001574/2.153, allocations: 1.431 MB / 1.253 GB, free: 120.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/2.153, allocations: 2.938 kB / 1.253 GB, free: 120.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009184/2.154, allocations: 216.1 kB / 1.253 GB, free: 120.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.217e-05/2.154, allocations: 24.11 kB / 1.253 GB, free: 120.3 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.77e-05/2.154, allocations: 22.59 kB / 1.253 GB, free: 120.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001236/2.155, allocations: 2.676 MB / 1.256 GB, free: 117.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/2.155, allocations: 3.031 kB / 1.256 GB, free: 117.6 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009249/2.156, allocations: 0.8653 MB / 1.257 GB, free: 117.1 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002278/2.156, allocations: 177.7 kB / 1.257 GB, free: 116.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.26e-05/2.156, allocations: 14.41 kB / 1.257 GB, free: 116.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003998/2.157, allocations: 33.88 kB / 1.257 GB, free: 116.9 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.757e-05/2.157, allocations: 39.34 kB / 1.257 GB, free: 116.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.804e-05/2.157, allocations: 45.08 kB / 1.257 GB, free: 116.9 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003969/2.157, allocations: 426.4 kB / 1.258 GB, free: 116.7 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.31e-07/2.157, allocations: 2.656 kB / 1.258 GB, free: 116.7 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001155/2.159, allocations: 336.2 kB / 1.258 GB, free: 116.6 MB / 0.5417 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.002446/2.161, allocations: 2.661 MB / 1.261 GB, free: 115 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0009285/2.162, allocations: 0.5411 MB / 1.261 GB, free: 114.8 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/2.162, allocations: 0 / 1.261 GB, free: 114.8 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0007454/2.163, allocations: 393.3 kB / 1.261 GB, free: 114.7 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00137/2.164, allocations: 345.1 kB / 1.262 GB, free: 114.6 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/2.166, allocations: 1.151 MB / 1.263 GB, free: 114.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/2.166, allocations: 0.9423 MB / 1.264 GB, free: 113.4 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001085/2.167, allocations: 467.3 kB / 1.264 GB, free: 113.3 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000465/2.168, allocations: 280 kB / 1.264 GB, free: 113.1 MB / 0.5417 GB Notification: Performance of SimCode: time 5.21e-07/2.168, allocations: 0 / 1.264 GB, free: 113.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04885/2.217, allocations: 37.47 MB / 1.301 GB, free: 88.99 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001918/2.217, allocations: 239.5 kB / 1.301 GB, free: 88.68 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.836/5.053, allocations: 0 / 1.301 GB, free: 88.68 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1)