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.001807/0.001807, allocations: 177.9 kB / 17.06 MB, free: 5.094 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.605/1.605, allocations: 223.2 MB / 241 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 99.09 kB / 292.1 MB, free: 10.67 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.5376/0.5376, allocations: 44.22 MB / 387.5 MB, free: 38.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003893/0.0003893, allocations: 8 kB / 460 MB, free: 1.418 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4714/0.4718, allocations: 61.9 MB / 0.5096 GB, free: 37.66 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.381/1.853, allocations: 0.5101 GB / 1.02 GB, free: 60.52 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003286/1.853, allocations: 104.3 kB / 1.02 GB, free: 60.46 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.8303/2.683, allocations: 204.1 MB / 1.219 GB, free: 77.49 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.977e-06/2.683, allocations: 4 kB / 1.219 GB, free: 77.49 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001038/2.683, allocations: 16.12 kB / 1.219 GB, free: 77.47 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.003697/2.687, allocations: 1.129 MB / 1.22 GB, free: 76.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/2.687, allocations: 12.02 kB / 1.22 GB, free: 76.29 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000388/2.688, allocations: 102.5 kB / 1.22 GB, free: 76.18 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/2.689, allocations: 131.1 kB / 1.221 GB, free: 76.05 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001482/2.69, allocations: 0.5404 MB / 1.221 GB, free: 75.46 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/2.69, allocations: 104.4 kB / 1.221 GB, free: 75.35 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001671/2.691, allocations: 51.89 kB / 1.221 GB, free: 75.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00147/2.692, allocations: 0.8151 MB / 1.222 GB, free: 74.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.955e-05/2.692, allocations: 11.94 kB / 1.222 GB, free: 74.39 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/2.692, allocations: 23.94 kB / 1.222 GB, free: 74.36 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.916e-05/2.692, allocations: 36.98 kB / 1.222 GB, free: 74.33 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/2.693, allocations: 0.6205 MB / 1.223 GB, free: 73.71 MB / 0.5261 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.004449/2.698, allocations: 3.923 MB / 1.227 GB, free: 69.53 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004815/2.698, allocations: 335.5 kB / 1.227 GB, free: 69.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001251/2.698, allocations: 93.36 kB / 1.227 GB, free: 69.09 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/2.698, allocations: 42.84 kB / 1.227 GB, free: 69.04 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 2.776e-06/2.699, allocations: 0 / 1.227 GB, free: 69.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39): time 0.005623/2.704, allocations: 1.654 MB / 1.229 GB, free: 67.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.768e-05/2.704, allocations: 140.5 kB / 1.229 GB, free: 67.14 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007338/2.705, allocations: 0.5421 MB / 1.229 GB, free: 66.59 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.784e-05/2.705, allocations: 33.7 kB / 1.229 GB, free: 66.55 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/2.705, allocations: 362.9 kB / 1.23 GB, free: 66.18 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/2.705, allocations: 142 kB / 1.23 GB, free: 66.04 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/2.705, allocations: 12 kB / 1.23 GB, free: 66.03 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001136/2.706, allocations: 374.8 kB / 1.23 GB, free: 65.66 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003132/2.706, allocations: 197.9 kB / 1.23 GB, free: 65.46 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004222/2.706, allocations: 0.5086 MB / 1.231 GB, free: 64.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004272/2.707, allocations: 296.3 kB / 1.231 GB, free: 64.52 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/2.707, allocations: 4 kB / 1.231 GB, free: 64.51 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001369/2.708, allocations: 0.8644 MB / 1.232 GB, free: 63.64 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/2.708, allocations: 8 kB / 1.232 GB, free: 63.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/2.708, allocations: 15.95 kB / 1.232 GB, free: 63.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001391/2.71, allocations: 309 kB / 1.232 GB, free: 63.31 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003797/2.71, allocations: 131.8 kB / 1.232 GB, free: 63.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009451/2.711, allocations: 0.922 MB / 1.233 GB, free: 62.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007417/2.712, allocations: 55.89 kB / 1.233 GB, free: 62.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.222e-05/2.712, allocations: 60 kB / 1.233 GB, free: 62.12 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 () * 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.0004278/2.712, allocations: 253.5 kB / 1.234 GB, free: 61.86 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/2.712, allocations: 63.25 kB / 1.234 GB, free: 61.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001623/2.714, allocations: 0.8577 MB / 1.235 GB, free: 60.93 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/2.714, allocations: 4 kB / 1.235 GB, free: 60.92 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/2.714, allocations: 7.953 kB / 1.235 GB, free: 60.91 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/2.714, allocations: 3.984 kB / 1.235 GB, free: 60.91 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002197/2.716, allocations: 1.437 MB / 1.236 GB, free: 59.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/2.716, allocations: 4 kB / 1.236 GB, free: 59.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/2.717, allocations: 211.9 kB / 1.236 GB, free: 59.13 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001004/2.717, allocations: 24.84 kB / 1.236 GB, free: 59.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-05/2.718, allocations: 19.98 kB / 1.236 GB, free: 59.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001488/2.719, allocations: 2.696 MB / 1.239 GB, free: 56.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/2.719, allocations: 0 / 1.239 GB, free: 56.12 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/2.72, allocations: 0.8798 MB / 1.24 GB, free: 55.17 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004262/2.721, allocations: 188.2 kB / 1.24 GB, free: 54.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001784/2.721, allocations: 12 kB / 1.24 GB, free: 54.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000555/2.721, allocations: 32.03 kB / 1.24 GB, free: 54.93 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.252e-05/2.722, allocations: 43.84 kB / 1.24 GB, free: 54.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-05/2.722, allocations: 43.98 kB / 1.24 GB, free: 54.84 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005765/2.722, allocations: 427 kB / 1.24 GB, free: 54.43 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.3e-07/2.722, allocations: 4 kB / 1.24 GB, free: 54.42 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001735/2.724, allocations: 323.9 kB / 1.241 GB, free: 54.11 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 () * 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.003888/2.728, allocations: 2.664 MB / 1.243 GB, free: 51.38 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001388/2.729, allocations: 0.5431 MB / 1.244 GB, free: 50.84 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/2.729, allocations: 4 kB / 1.244 GB, free: 50.83 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00109/2.73, allocations: 398.3 kB / 1.244 GB, free: 50.43 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002206/2.733, allocations: 330.8 kB / 1.245 GB, free: 50.12 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008775/2.741, allocations: 10.87 MB / 1.255 GB, free: 38.97 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004485/2.742, allocations: 0.9492 MB / 1.256 GB, free: 37.99 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001416/2.743, allocations: 466.3 kB / 1.257 GB, free: 37.54 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005765/2.744, allocations: 279.3 kB / 1.257 GB, free: 37.26 MB / 0.5261 GB Notification: Performance of SimCode: time 3.066e-06/2.744, allocations: 0 / 1.257 GB, free: 37.26 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06451/2.808, allocations: 34.85 MB / 1.291 GB, free: 2.738 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000204/2.809, allocations: 286.5 kB / 1.291 GB, free: 2.375 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.294/6.103, allocations: 0 / 1.291 GB, free: 2.375 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)