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.001245/0.001245, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 225.6 MB / 234.8 MB, free: 3.23 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009411/0.0009415, allocations: 91.75 kB / 286.7 MB, free: 5.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2599/0.2599, allocations: 45.15 MB / 383.8 MB, free: 240 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.874e-05/1.878e-05, allocations: 0 / 453.3 MB, free: 75.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1489, allocations: 63.25 MB / 0.5045 GB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.743/1.892, allocations: 0.522 GB / 1.027 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003881/1.892, allocations: 94.25 kB / 1.027 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.8755/2.768, allocations: 204.7 MB / 1.227 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.374e-06/2.768, allocations: 0 / 1.227 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000118/2.768, allocations: 20.91 kB / 1.227 GB, free: 120.6 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.003893/2.772, allocations: 1.041 MB / 1.228 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.942e-05/2.772, allocations: 15.52 kB / 1.228 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00117/2.773, allocations: 134.7 kB / 1.228 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/2.775, allocations: 0.5463 MB / 1.228 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/2.775, allocations: 83.72 kB / 1.228 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/2.775, allocations: 27.06 kB / 1.228 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009625/2.776, allocations: 0.5275 MB / 1.229 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/2.777, allocations: 0.741 MB / 1.23 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/2.777, allocations: 3.969 kB / 1.23 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.914e-05/2.777, allocations: 3.938 kB / 1.23 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.654e-05/2.777, allocations: 38.91 kB / 1.23 GB, free: 118.8 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.004407/2.782, allocations: 3.972 MB / 1.233 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000339/2.782, allocations: 245.3 kB / 1.234 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/2.782, allocations: 142.9 kB / 1.234 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.967e-05/2.782, allocations: 91.56 kB / 1.234 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/2.782, allocations: 42.23 kB / 1.234 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 2.995e-06/2.782, allocations: 0 / 1.234 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.004862/2.787, allocations: 1.375 MB / 1.235 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.224e-05/2.787, allocations: 144.2 kB / 1.235 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004823/2.788, allocations: 457.1 kB / 1.236 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.21e-05/2.788, allocations: 28.95 kB / 1.236 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001993/2.788, allocations: 401.1 kB / 1.236 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.522e-05/2.788, allocations: 116.1 kB / 1.236 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.622e-05/2.788, allocations: 3.938 kB / 1.236 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001094/2.788, allocations: 367.7 kB / 1.237 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002393/2.789, allocations: 187.2 kB / 1.237 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004006/2.789, allocations: 491.4 kB / 1.237 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004812/2.79, allocations: 299 kB / 1.238 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.87e-06/2.79, allocations: 6.125 kB / 1.238 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0012/2.791, allocations: 0.7979 MB / 1.239 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/2.791, allocations: 11.09 kB / 1.239 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/2.791, allocations: 7.719 kB / 1.239 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/2.792, allocations: 277.3 kB / 1.239 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003676/2.792, allocations: 124.1 kB / 1.239 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009291/2.793, allocations: 0.9494 MB / 1.24 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005546/2.794, allocations: 31.77 kB / 1.24 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.598e-05/2.794, allocations: 69.94 kB / 1.24 GB, free: 111.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.0001599/2.794, allocations: 135.2 kB / 1.24 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006968/2.795, allocations: 406 kB / 1.24 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.686e-05/2.795, allocations: 66.14 kB / 1.241 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/2.796, allocations: 0.5888 MB / 1.241 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/2.796, allocations: 8.953 kB / 1.241 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/2.796, allocations: 0 / 1.241 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/2.796, allocations: 3.891 kB / 1.241 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001388/2.797, allocations: 0.9894 MB / 1.242 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/2.797, allocations: 7.344 kB / 1.242 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009582/2.798, allocations: 192.7 kB / 1.242 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.527e-05/2.799, allocations: 24.53 kB / 1.242 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.14e-05/2.799, allocations: 15.89 kB / 1.242 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001382/2.8, allocations: 2.58 MB / 1.245 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.87e-06/2.8, allocations: 3.812 kB / 1.245 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008016/2.801, allocations: 0.6824 MB / 1.245 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002128/2.801, allocations: 173.4 kB / 1.246 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.75e-05/2.801, allocations: 0 / 1.246 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003983/2.802, allocations: 23.33 kB / 1.246 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.712e-05/2.802, allocations: 46.7 kB / 1.246 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.383e-05/2.802, allocations: 36.67 kB / 1.246 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00036/2.802, allocations: 338.7 kB / 1.246 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/2.802, allocations: 3.938 kB / 1.246 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001326/2.803, allocations: 299.5 kB / 1.246 GB, free: 107 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (34): * Single equations (assignments): 32 * 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.002711/2.806, allocations: 2.273 MB / 1.249 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009978/2.807, allocations: 496.2 kB / 1.249 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/2.807, allocations: 0 / 1.249 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007551/2.808, allocations: 360.1 kB / 1.249 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/2.809, allocations: 237.1 kB / 1.25 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002053/2.811, allocations: 1.05 MB / 1.251 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/2.812, allocations: 0.939 MB / 1.252 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001075/2.813, allocations: 412.9 kB / 1.252 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004559/2.813, allocations: 266.5 kB / 1.252 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.383e-06/2.813, allocations: 0 / 1.252 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05619/2.869, allocations: 24.87 MB / 1.276 GB, free: 78.71 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001631/2.869, allocations: 183.4 kB / 1.277 GB, free: 78.52 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.927/5.797, allocations: 0 / 1.277 GB, free: 78.52 MB / 0.5261 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)