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.002134/0.002134, allocations: 198.3 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.576/1.576, allocations: 227.2 MB / 245 MB, free: 7.66 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001109/0.001109, allocations: 105.4 kB / 297.3 MB, free: 6.211 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4498/0.4498, allocations: 45.23 MB / 394.6 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003102/0.0003104, allocations: 8 kB / 468.5 MB, free: 7.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5348/0.5351, allocations: 63.24 MB / 0.5193 GB, free: 43.69 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.448/1.983, allocations: 0.5228 GB / 1.042 GB, free: 96.59 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003334/1.984, allocations: 99.91 kB / 1.042 GB, free: 96.49 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.9374/2.921, allocations: 207.7 MB / 1.245 GB, free: 111.1 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.817e-06/2.921, allocations: 0 / 1.245 GB, free: 111.1 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001307/2.921, allocations: 16 kB / 1.245 GB, free: 111.1 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.004156/2.926, allocations: 1.128 MB / 1.246 GB, free: 109.9 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.813e-05/2.926, allocations: 8.031 kB / 1.246 GB, free: 109.9 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000417/2.926, allocations: 98.52 kB / 1.246 GB, free: 109.8 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/2.927, allocations: 131.1 kB / 1.246 GB, free: 109.6 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0016/2.929, allocations: 0.5443 MB / 1.247 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001342/2.929, allocations: 100.4 kB / 1.247 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001911/2.929, allocations: 51.98 kB / 1.247 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/2.931, allocations: 0.8269 MB / 1.248 GB, free: 108 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.189e-05/2.931, allocations: 7.891 kB / 1.248 GB, free: 108 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/2.931, allocations: 27.98 kB / 1.248 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.926e-05/2.931, allocations: 36.98 kB / 1.248 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001247/2.933, allocations: 0.6243 MB / 1.249 GB, free: 107.3 MB / 0.5417 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.005984/2.939, allocations: 3.949 MB / 1.252 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006501/2.939, allocations: 335.5 kB / 1.253 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002033/2.94, allocations: 89.38 kB / 1.253 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.478e-05/2.94, allocations: 42.84 kB / 1.253 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=34): time 4.879e-06/2.94, allocations: 0 / 1.253 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=39): time 0.006591/2.946, allocations: 1.663 MB / 1.254 GB, free: 100.8 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/2.946, allocations: 132.5 kB / 1.255 GB, free: 100.7 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009823/2.947, allocations: 0.5343 MB / 1.255 GB, free: 100.1 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.318e-05/2.947, allocations: 41.7 kB / 1.255 GB, free: 100.1 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002774/2.948, allocations: 362.9 kB / 1.255 GB, free: 99.74 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/2.948, allocations: 146 kB / 1.256 GB, free: 99.59 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.444e-05/2.948, allocations: 16 kB / 1.256 GB, free: 99.58 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001662/2.948, allocations: 374.7 kB / 1.256 GB, free: 99.2 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003552/2.948, allocations: 193.9 kB / 1.256 GB, free: 99.01 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006265/2.949, allocations: 0.517 MB / 1.257 GB, free: 98.35 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005371/2.95, allocations: 288.4 kB / 1.257 GB, free: 98.07 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/2.95, allocations: 4 kB / 1.257 GB, free: 98.06 MB / 0.5417 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001802/2.952, allocations: 0.8684 MB / 1.258 GB, free: 97.18 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.639e-05/2.952, allocations: 11.98 kB / 1.258 GB, free: 97.17 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.195e-05/2.952, allocations: 12 kB / 1.258 GB, free: 97.16 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001653/2.953, allocations: 319.2 kB / 1.258 GB, free: 96.85 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004483/2.954, allocations: 123.8 kB / 1.258 GB, free: 96.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001272/2.955, allocations: 0.9235 MB / 1.259 GB, free: 95.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009177/2.956, allocations: 47.94 kB / 1.259 GB, free: 95.73 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000145/2.956, allocations: 75.94 kB / 1.259 GB, free: 95.66 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 () * Number of clocked 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.0006645/2.957, allocations: 245.4 kB / 1.26 GB, free: 95.41 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002303/2.957, allocations: 67.25 kB / 1.26 GB, free: 95.34 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001805/2.959, allocations: 0.8499 MB / 1.26 GB, free: 94.47 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/2.959, allocations: 7.984 kB / 1.26 GB, free: 94.46 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/2.959, allocations: 4 kB / 1.26 GB, free: 94.46 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/2.959, allocations: 3.953 kB / 1.26 GB, free: 94.45 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002331/2.961, allocations: 1.445 MB / 1.262 GB, free: 92.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/2.961, allocations: 0 / 1.262 GB, free: 92.88 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/2.962, allocations: 215.9 kB / 1.262 GB, free: 92.66 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001039/2.962, allocations: 24.84 kB / 1.262 GB, free: 92.64 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.494e-05/2.962, allocations: 23.98 kB / 1.262 GB, free: 92.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001671/2.964, allocations: 2.681 MB / 1.265 GB, free: 89.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/2.964, allocations: 7.969 kB / 1.265 GB, free: 89.66 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/2.965, allocations: 0.881 MB / 1.266 GB, free: 88.7 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003926/2.966, allocations: 184.2 kB / 1.266 GB, free: 88.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001339/2.966, allocations: 11.94 kB / 1.266 GB, free: 88.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005249/2.966, allocations: 23.97 kB / 1.266 GB, free: 88.47 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/2.967, allocations: 51.97 kB / 1.266 GB, free: 88.42 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.308e-05/2.967, allocations: 43.98 kB / 1.266 GB, free: 88.38 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005319/2.967, allocations: 423 kB / 1.266 GB, free: 87.97 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/2.967, allocations: 3.938 kB / 1.266 GB, free: 87.96 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001565/2.969, allocations: 339.8 kB / 1.267 GB, free: 87.63 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 () * Number of clocked 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.003483/2.972, allocations: 2.685 MB / 1.269 GB, free: 84.89 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001151/2.973, allocations: 0.543 MB / 1.27 GB, free: 84.34 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/2.973, allocations: 0 / 1.27 GB, free: 84.34 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0008818/2.974, allocations: 402.7 kB / 1.27 GB, free: 83.94 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/2.976, allocations: 332.3 kB / 1.27 GB, free: 83.62 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008306/2.984, allocations: 10.86 MB / 1.281 GB, free: 72.49 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004186/2.985, allocations: 0.9456 MB / 1.282 GB, free: 71.52 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001321/2.986, allocations: 462.4 kB / 1.282 GB, free: 71.06 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005496/2.987, allocations: 283.3 kB / 1.283 GB, free: 70.79 MB / 0.5417 GB Notification: Performance of SimCode: time 9.92e-07/2.987, allocations: 4 kB / 1.283 GB, free: 70.78 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06877/3.055, allocations: 35.03 MB / 1.317 GB, free: 36.02 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001798/3.056, allocations: 269.1 kB / 1.317 GB, free: 35.66 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.45/6.505, allocations: 0 / 1.317 GB, free: 35.66 MB / 0.5417 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)