Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.56/1.56, allocations: 221.3 MB / 236 MB, free: 2.949 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009911/0.0009912, allocations: 103.6 kB / 287 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2341/0.2341, allocations: 44.16 MB / 382.1 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.012e-05/5.045e-05, allocations: 224 / 451.9 MB, free: 9.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.196, allocations: 61.92 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.868/2.064, allocations: 0.51 GB / 1.012 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/2.065, allocations: 95.62 kB / 1.012 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.8798/2.944, allocations: 203.6 MB / 1.211 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.444e-06/2.944, allocations: 0 / 1.211 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001129/2.945, allocations: 11.81 kB / 1.211 GB, free: 119.1 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.00361/2.948, allocations: 1.043 MB / 1.212 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/2.948, allocations: 11.81 kB / 1.212 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003476/2.949, allocations: 95.33 kB / 1.212 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/2.95, allocations: 136.1 kB / 1.212 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00173/2.952, allocations: 0.543 MB / 1.213 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/2.952, allocations: 99.75 kB / 1.213 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/2.952, allocations: 53.7 kB / 1.213 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/2.953, allocations: 0.8006 MB / 1.213 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.676e-05/2.954, allocations: 6.562 kB / 1.213 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/2.954, allocations: 27.02 kB / 1.213 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.167e-05/2.954, allocations: 41.72 kB / 1.214 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/2.955, allocations: 0.6022 MB / 1.214 GB, free: 116.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.004665/2.959, allocations: 3.932 MB / 1.218 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004908/2.96, allocations: 334.5 kB / 1.218 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002462/2.96, allocations: 159.6 kB / 1.218 GB, free: 113 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001344/2.96, allocations: 100.4 kB / 1.219 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/2.96, allocations: 38.62 kB / 1.219 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 2.284e-06/2.96, allocations: 0 / 1.219 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39): time 0.005467/2.966, allocations: 1.515 MB / 1.22 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.824e-05/2.966, allocations: 136.5 kB / 1.22 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008352/2.967, allocations: 0.5327 MB / 1.221 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.536e-05/2.967, allocations: 37.67 kB / 1.221 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002497/2.967, allocations: 357.9 kB / 1.221 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/2.967, allocations: 150.7 kB / 1.221 GB, free: 111 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.658e-05/2.967, allocations: 15.94 kB / 1.221 GB, free: 111 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001188/2.967, allocations: 370.5 kB / 1.222 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003147/2.968, allocations: 193.4 kB / 1.222 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004601/2.968, allocations: 0.4988 MB / 1.222 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004386/2.969, allocations: 294.5 kB / 1.223 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/2.969, allocations: 3.281 kB / 1.223 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00139/2.97, allocations: 0.8521 MB / 1.223 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/2.97, allocations: 13.36 kB / 1.223 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/2.97, allocations: 12 kB / 1.223 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001306/2.972, allocations: 307.5 kB / 1.224 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003791/2.972, allocations: 123.8 kB / 1.224 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000926/2.973, allocations: 0.9304 MB / 1.225 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007041/2.974, allocations: 39.98 kB / 1.225 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/2.974, allocations: 75.92 kB / 1.225 GB, free: 107.7 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.0001953/2.974, allocations: 156.7 kB / 1.225 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/2.974, allocations: 71.16 kB / 1.225 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001633/2.976, allocations: 0.8383 MB / 1.226 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/2.976, allocations: 7.953 kB / 1.226 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/2.976, allocations: 4 kB / 1.226 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/2.976, allocations: 11.97 kB / 1.226 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001965/2.978, allocations: 1.425 MB / 1.227 GB, free: 105 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/2.978, allocations: 0 / 1.227 GB, free: 105 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009811/2.979, allocations: 211.8 kB / 1.227 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.051e-05/2.979, allocations: 24.84 kB / 1.227 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.523e-05/2.979, allocations: 28.17 kB / 1.228 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001485/2.98, allocations: 2.67 MB / 1.23 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/2.98, allocations: 4.031 kB / 1.23 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/2.981, allocations: 0.8667 MB / 1.231 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003498/2.982, allocations: 176.3 kB / 1.231 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/2.982, allocations: 19.98 kB / 1.231 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004952/2.982, allocations: 31.91 kB / 1.231 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/2.983, allocations: 35.95 kB / 1.231 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.293e-05/2.983, allocations: 43.98 kB / 1.231 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005048/2.983, allocations: 431.1 kB / 1.232 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.51e-07/2.983, allocations: 0 / 1.232 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001577/2.985, allocations: 327.8 kB / 1.232 GB, free: 99.82 MB / 0.5261 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.003253/2.988, allocations: 2.656 MB / 1.235 GB, free: 97.22 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00112/2.989, allocations: 0.5271 MB / 1.235 GB, free: 96.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/2.989, allocations: 8.438 kB / 1.235 GB, free: 96.69 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008337/2.99, allocations: 402.3 kB / 1.236 GB, free: 96.29 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/2.992, allocations: 334.6 kB / 1.236 GB, free: 95.96 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002624/2.994, allocations: 1.157 MB / 1.237 GB, free: 94.74 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004481/2.995, allocations: 0.9417 MB / 1.238 GB, free: 93.77 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001205/2.996, allocations: 454.4 kB / 1.238 GB, free: 93.32 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005141/2.997, allocations: 279.3 kB / 1.239 GB, free: 93.05 MB / 0.5261 GB Notification: Performance of SimCode: time 1.403e-06/2.997, allocations: 0 / 1.239 GB, free: 93.05 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06058/3.057, allocations: 37.26 MB / 1.275 GB, free: 55.98 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001681/3.057, allocations: 252.1 kB / 1.275 GB, free: 55.65 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.49/6.547, allocations: 6.875 kB / 1.275 GB, free: 55.64 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1)