Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.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.Nitrogen,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002452/0.002452, allocations: 199 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.566/1.566, allocations: 227.2 MB / 245 MB, free: 5.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001068/0.001068, allocations: 97.91 kB / 297.3 MB, free: 5.965 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5224/0.5224, allocations: 45.23 MB / 394.7 MB, free: 31.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003243/0.0003244, allocations: 4 kB / 468.5 MB, free: 7.598 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5164/0.5167, allocations: 63.24 MB / 0.5193 GB, free: 37.75 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.416/1.933, allocations: 0.5111 GB / 1.03 GB, free: 90.25 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004459/1.933, allocations: 99.91 kB / 1.03 GB, free: 90.16 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.8185/2.752, allocations: 205 MB / 1.231 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.723e-06/2.752, allocations: 0 / 1.231 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.682e-05/2.752, allocations: 23.98 kB / 1.231 GB, free: 107.2 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.003559/2.756, allocations: 1.116 MB / 1.232 GB, free: 106 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/2.756, allocations: 12.03 kB / 1.232 GB, free: 106 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003434/2.756, allocations: 98.5 kB / 1.232 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/2.757, allocations: 135 kB / 1.232 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00141/2.759, allocations: 0.5442 MB / 1.233 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001115/2.759, allocations: 104.4 kB / 1.233 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/2.759, allocations: 55.95 kB / 1.233 GB, free: 105 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001349/2.76, allocations: 0.8164 MB / 1.233 GB, free: 104.1 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/2.76, allocations: 0 / 1.233 GB, free: 104.1 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.974e-05/2.76, allocations: 28 kB / 1.234 GB, free: 104.1 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.919e-05/2.76, allocations: 36.98 kB / 1.234 GB, free: 104 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/2.761, allocations: 0.6243 MB / 1.234 GB, free: 103.4 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.004585/2.766, allocations: 3.96 MB / 1.238 GB, free: 99.2 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004904/2.767, allocations: 341.5 kB / 1.238 GB, free: 98.86 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001291/2.767, allocations: 93.36 kB / 1.238 GB, free: 98.75 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/2.767, allocations: 38.84 kB / 1.238 GB, free: 98.7 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=34): time 2.455e-06/2.767, allocations: 0 / 1.238 GB, free: 98.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=39): time 0.005609/2.772, allocations: 1.652 MB / 1.24 GB, free: 96.97 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.865e-05/2.772, allocations: 136.5 kB / 1.24 GB, free: 96.81 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007379/2.773, allocations: 0.5382 MB / 1.241 GB, free: 96.26 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.452e-05/2.773, allocations: 33.7 kB / 1.241 GB, free: 96.22 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002147/2.774, allocations: 370.9 kB / 1.241 GB, free: 95.86 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/2.774, allocations: 142 kB / 1.241 GB, free: 95.71 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.372e-05/2.774, allocations: 8 kB / 1.241 GB, free: 95.71 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001069/2.774, allocations: 374.8 kB / 1.242 GB, free: 95.33 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003156/2.774, allocations: 205.8 kB / 1.242 GB, free: 95.13 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004427/2.775, allocations: 0.5047 MB / 1.242 GB, free: 94.48 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004182/2.775, allocations: 292.4 kB / 1.243 GB, free: 94.2 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/2.775, allocations: 4 kB / 1.243 GB, free: 94.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001389/2.776, allocations: 0.8677 MB / 1.243 GB, free: 93.32 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/2.776, allocations: 15.94 kB / 1.243 GB, free: 93.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/2.776, allocations: 12.84 kB / 1.243 GB, free: 93.29 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00142/2.778, allocations: 315.7 kB / 1.244 GB, free: 92.98 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003874/2.778, allocations: 131.8 kB / 1.244 GB, free: 92.85 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009419/2.779, allocations: 0.9249 MB / 1.245 GB, free: 91.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007033/2.78, allocations: 51.94 kB / 1.245 GB, free: 91.85 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.731e-05/2.78, allocations: 63.98 kB / 1.245 GB, free: 91.79 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.0004076/2.781, allocations: 245.5 kB / 1.245 GB, free: 91.54 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/2.781, allocations: 67.25 kB / 1.245 GB, free: 91.47 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001593/2.782, allocations: 0.8615 MB / 1.246 GB, free: 90.59 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/2.782, allocations: 11.89 kB / 1.246 GB, free: 90.58 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/2.782, allocations: 0 / 1.246 GB, free: 90.58 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/2.782, allocations: 0 / 1.246 GB, free: 90.58 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002153/2.784, allocations: 1.441 MB / 1.247 GB, free: 89 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/2.784, allocations: 0 / 1.247 GB, free: 89 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/2.786, allocations: 215.9 kB / 1.248 GB, free: 88.79 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.974e-05/2.786, allocations: 32.69 kB / 1.248 GB, free: 88.76 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.153e-05/2.786, allocations: 19.98 kB / 1.248 GB, free: 88.74 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001502/2.787, allocations: 2.688 MB / 1.25 GB, free: 85.78 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/2.787, allocations: 3.938 kB / 1.25 GB, free: 85.78 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/2.788, allocations: 0.8782 MB / 1.251 GB, free: 84.82 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003829/2.789, allocations: 184.2 kB / 1.251 GB, free: 84.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/2.789, allocations: 12 kB / 1.251 GB, free: 84.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005321/2.789, allocations: 31.92 kB / 1.251 GB, free: 84.58 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.607e-05/2.79, allocations: 40.02 kB / 1.251 GB, free: 84.54 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.984e-05/2.79, allocations: 43.98 kB / 1.252 GB, free: 84.5 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005139/2.79, allocations: 427 kB / 1.252 GB, free: 84.09 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/2.79, allocations: 0 / 1.252 GB, free: 84.09 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001482/2.792, allocations: 331.8 kB / 1.252 GB, free: 83.76 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.003134/2.795, allocations: 2.675 MB / 1.255 GB, free: 81.02 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001123/2.796, allocations: 0.5347 MB / 1.255 GB, free: 80.49 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/2.796, allocations: 4 kB / 1.255 GB, free: 80.49 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0008773/2.797, allocations: 411.2 kB / 1.256 GB, free: 80.07 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001606/2.798, allocations: 331 kB / 1.256 GB, free: 79.76 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007592/2.806, allocations: 10.86 MB / 1.267 GB, free: 68.62 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004159/2.807, allocations: 0.9417 MB / 1.268 GB, free: 67.66 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001286/2.808, allocations: 466.3 kB / 1.268 GB, free: 67.2 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005241/2.808, allocations: 283.3 kB / 1.268 GB, free: 66.92 MB / 0.5417 GB Notification: Performance of SimCode: time 1.433e-06/2.808, allocations: 0 / 1.268 GB, free: 66.92 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05873/2.867, allocations: 34.85 MB / 1.302 GB, free: 32.34 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000183/2.867, allocations: 271 kB / 1.303 GB, free: 31.98 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.234/6.102, allocations: 0 / 1.303 GB, free: 31.98 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1)