Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.Air.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.00101/0.00101, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 225.6 MB / 234.8 MB, free: 3.215 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009044/0.0009043, allocations: 92 kB / 286.7 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2674/0.2674, allocations: 45.15 MB / 383.8 MB, free: 236 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.401e-05/1.404e-05, allocations: 0 / 453.3 MB, free: 75.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1341, allocations: 63.25 MB / 0.5045 GB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.652/1.786, allocations: 0.5221 GB / 1.027 GB, free: 141.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000314/1.786, allocations: 91.95 kB / 1.027 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.8525/2.639, allocations: 204.7 MB / 1.227 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.204e-06/2.639, allocations: 0 / 1.227 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001038/2.639, allocations: 18.89 kB / 1.227 GB, free: 119.3 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.003564/2.643, allocations: 1.04 MB / 1.228 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/2.643, allocations: 15.23 kB / 1.228 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001206/2.644, allocations: 128.8 kB / 1.228 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001523/2.645, allocations: 0.5486 MB / 1.228 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001475/2.646, allocations: 86.55 kB / 1.228 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001785/2.646, allocations: 27.56 kB / 1.228 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001139/2.647, allocations: 0.5264 MB / 1.229 GB, free: 118 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/2.648, allocations: 0.7308 MB / 1.23 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.846e-05/2.648, allocations: 3.938 kB / 1.23 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001126/2.648, allocations: 15.11 kB / 1.23 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-05/2.649, allocations: 42.95 kB / 1.23 GB, free: 117.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.00525/2.654, allocations: 3.967 MB / 1.234 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000442/2.654, allocations: 257 kB / 1.234 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001997/2.654, allocations: 130.6 kB / 1.234 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001118/2.655, allocations: 92.27 kB / 1.234 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.419e-05/2.655, allocations: 38.7 kB / 1.234 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 4.128e-06/2.655, allocations: 0 / 1.234 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.00573/2.66, allocations: 1.381 MB / 1.235 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.152e-05/2.66, allocations: 140.3 kB / 1.235 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007338/2.661, allocations: 458.7 kB / 1.236 GB, free: 113 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.266e-05/2.661, allocations: 28.08 kB / 1.236 GB, free: 113 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003518/2.662, allocations: 402.6 kB / 1.236 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/2.662, allocations: 114.9 kB / 1.236 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.713e-05/2.662, allocations: 0 / 1.236 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001507/2.662, allocations: 369 kB / 1.237 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003012/2.662, allocations: 181.7 kB / 1.237 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004259/2.663, allocations: 489.9 kB / 1.237 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006056/2.663, allocations: 303.8 kB / 1.238 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.175e-05/2.663, allocations: 2.719 kB / 1.238 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001433/2.665, allocations: 0.8049 MB / 1.239 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/2.665, allocations: 7.438 kB / 1.239 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.248e-05/2.665, allocations: 11.69 kB / 1.239 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00117/2.666, allocations: 279.1 kB / 1.239 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004124/2.667, allocations: 117.5 kB / 1.239 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001027/2.668, allocations: 0.9458 MB / 1.24 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007545/2.668, allocations: 33.47 kB / 1.24 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/2.668, allocations: 76.16 kB / 1.24 GB, free: 110.6 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.0002265/2.669, allocations: 128.8 kB / 1.24 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008679/2.67, allocations: 411.2 kB / 1.24 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001626/2.67, allocations: 61.22 kB / 1.241 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/2.671, allocations: 0.5995 MB / 1.241 GB, free: 110 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/2.671, allocations: 3.812 kB / 1.241 GB, free: 110 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/2.671, allocations: 0 / 1.241 GB, free: 110 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/2.671, allocations: 3.438 kB / 1.241 GB, free: 110 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001709/2.673, allocations: 0.9877 MB / 1.242 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/2.673, allocations: 0 / 1.242 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/2.674, allocations: 195.3 kB / 1.242 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.956e-05/2.674, allocations: 23.27 kB / 1.242 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.044e-05/2.674, allocations: 15.02 kB / 1.242 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001618/2.676, allocations: 2.584 MB / 1.245 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/2.676, allocations: 0 / 1.245 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009404/2.677, allocations: 0.6809 MB / 1.245 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003298/2.677, allocations: 177.8 kB / 1.246 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/2.677, allocations: 2.469 kB / 1.246 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004835/2.678, allocations: 17.69 kB / 1.246 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.612e-05/2.678, allocations: 34.47 kB / 1.246 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.281e-05/2.678, allocations: 38.8 kB / 1.246 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004387/2.678, allocations: 338.3 kB / 1.246 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/2.678, allocations: 448 / 1.246 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001542/2.68, allocations: 305.4 kB / 1.246 GB, free: 106.2 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.003661/2.683, allocations: 2.285 MB / 1.249 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001144/2.685, allocations: 496.8 kB / 1.249 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.782e-06/2.685, allocations: 0 / 1.249 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008412/2.685, allocations: 362 kB / 1.249 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00141/2.687, allocations: 245.4 kB / 1.25 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003035/2.69, allocations: 1.047 MB / 1.251 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004864/2.69, allocations: 0.9397 MB / 1.252 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001224/2.692, allocations: 402.2 kB / 1.252 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005472/2.692, allocations: 266.1 kB / 1.252 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.022e-06/2.692, allocations: 0 / 1.252 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06296/2.755, allocations: 24.87 MB / 1.277 GB, free: 89.05 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001784/2.755, allocations: 193.7 kB / 1.277 GB, free: 88.85 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.087/5.843, allocations: 0 / 1.277 GB, free: 88.85 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1)