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.001258/0.001258, allocations: 197.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008985/0.0008987, allocations: 89.05 kB / 292.1 MB, free: 5.926 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1903/0.1903, allocations: 45.15 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.693e-05/2.702e-05, allocations: 4 kB / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1043, allocations: 63.25 MB / 0.5115 GB, free: 6.699 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.24/1.345, allocations: 0.511 GB / 1.022 GB, free: 169.7 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/1.345, allocations: 91.94 kB / 1.023 GB, free: 169.6 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.6323/1.977, allocations: 204.5 MB / 1.222 GB, free: 120.2 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.022e-06/1.977, allocations: 0 / 1.222 GB, free: 120.2 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.533e-05/1.977, allocations: 21.08 kB / 1.222 GB, free: 120.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.002528/1.98, allocations: 1.041 MB / 1.223 GB, free: 119.7 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/1.98, allocations: 13.09 kB / 1.223 GB, free: 119.7 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002099/1.98, allocations: 98.84 kB / 1.223 GB, free: 119.7 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009285/1.981, allocations: 127.9 kB / 1.224 GB, free: 119.7 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/1.982, allocations: 0.5443 MB / 1.224 GB, free: 119.4 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.97e-05/1.982, allocations: 107.4 kB / 1.224 GB, free: 119.4 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/1.982, allocations: 51.62 kB / 1.224 GB, free: 119.4 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/1.984, allocations: 0.8071 MB / 1.225 GB, free: 119.1 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/1.984, allocations: 3.75 kB / 1.225 GB, free: 119.1 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.636e-05/1.984, allocations: 24.69 kB / 1.225 GB, free: 119.1 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.915e-05/1.984, allocations: 43.31 kB / 1.225 GB, free: 119.1 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009063/1.985, allocations: 0.5973 MB / 1.226 GB, free: 119.1 MB / 0.5417 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.00368/1.988, allocations: 3.97 MB / 1.23 GB, free: 116.5 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004196/1.989, allocations: 324.3 kB / 1.23 GB, free: 116.5 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002021/1.989, allocations: 169.2 kB / 1.23 GB, free: 116.5 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 9.663e-05/1.989, allocations: 88.88 kB / 1.23 GB, free: 116.4 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/1.989, allocations: 42 kB / 1.23 GB, free: 116.3 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=34): time 2.295e-06/1.989, allocations: 0 / 1.23 GB, free: 116.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=39): time 0.004591/1.994, allocations: 1.521 MB / 1.232 GB, free: 115.9 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/1.994, allocations: 136 kB / 1.232 GB, free: 115.7 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005359/1.994, allocations: 0.5292 MB / 1.232 GB, free: 115.6 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.964e-05/1.994, allocations: 35.98 kB / 1.232 GB, free: 115.6 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/1.995, allocations: 363.9 kB / 1.233 GB, free: 115.4 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 9.783e-05/1.995, allocations: 149.8 kB / 1.233 GB, free: 115.3 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/1.995, allocations: 13.97 kB / 1.233 GB, free: 115.3 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.205e-05/1.995, allocations: 375.9 kB / 1.233 GB, free: 115 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000277/1.995, allocations: 191 kB / 1.233 GB, free: 115 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003727/1.996, allocations: 0.4982 MB / 1.234 GB, free: 114.6 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000378/1.996, allocations: 294.5 kB / 1.234 GB, free: 114.6 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/1.996, allocations: 0 / 1.234 GB, free: 114.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001159/1.997, allocations: 0.8559 MB / 1.235 GB, free: 114.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/1.997, allocations: 13 kB / 1.235 GB, free: 114.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/1.997, allocations: 10.84 kB / 1.235 GB, free: 114.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0012/1.998, allocations: 311.4 kB / 1.235 GB, free: 114.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003481/1.999, allocations: 116.8 kB / 1.235 GB, free: 114.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008346/2, allocations: 0.9257 MB / 1.236 GB, free: 114 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000604/2, allocations: 51.06 kB / 1.236 GB, free: 114 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.647e-05/2, allocations: 64.81 kB / 1.236 GB, free: 114 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 () * 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.0001578/2, allocations: 157.5 kB / 1.237 GB, free: 113.9 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/2.001, allocations: 68.31 kB / 1.237 GB, free: 113.8 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/2.002, allocations: 0.8486 MB / 1.237 GB, free: 113.7 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/2.002, allocations: 3.656 kB / 1.237 GB, free: 113.7 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/2.002, allocations: 7.781 kB / 1.237 GB, free: 113.7 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/2.002, allocations: 8.531 kB / 1.237 GB, free: 113.7 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001691/2.004, allocations: 1.437 MB / 1.239 GB, free: 113.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/2.004, allocations: 0 / 1.239 GB, free: 113.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009111/2.005, allocations: 207.8 kB / 1.239 GB, free: 113.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-05/2.005, allocations: 33.97 kB / 1.239 GB, free: 113.1 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.953e-05/2.005, allocations: 17.5 kB / 1.239 GB, free: 113.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001249/2.006, allocations: 2.672 MB / 1.242 GB, free: 110.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/2.006, allocations: 13.09 kB / 1.242 GB, free: 110.5 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000914/2.007, allocations: 0.8569 MB / 1.243 GB, free: 110.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000259/2.007, allocations: 179.9 kB / 1.243 GB, free: 110.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/2.007, allocations: 18.23 kB / 1.243 GB, free: 110.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000436/2.008, allocations: 25.58 kB / 1.243 GB, free: 110.1 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.887e-05/2.008, allocations: 50.33 kB / 1.243 GB, free: 110.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.063e-05/2.008, allocations: 46.2 kB / 1.243 GB, free: 110.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000418/2.008, allocations: 421.4 kB / 1.243 GB, free: 110 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.61e-07/2.008, allocations: 0 / 1.243 GB, free: 110 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001158/2.01, allocations: 334 kB / 1.244 GB, free: 110 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 () * 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.002577/2.012, allocations: 2.654 MB / 1.246 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0009751/2.013, allocations: 0.5304 MB / 1.247 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/2.013, allocations: 1.625 kB / 1.247 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0007946/2.014, allocations: 408.3 kB / 1.247 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/2.015, allocations: 341.1 kB / 1.247 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002086/2.018, allocations: 1.145 MB / 1.249 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/2.018, allocations: 0.9413 MB / 1.249 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001072/2.019, allocations: 462.8 kB / 1.25 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004473/2.019, allocations: 279.3 kB / 1.25 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of SimCode: time 4.91e-07/2.019, allocations: 0 / 1.25 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05246/2.072, allocations: 37.29 MB / 1.287 GB, free: 104.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001708/2.072, allocations: 239.9 kB / 1.287 GB, free: 104 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.837/4.909, allocations: 0 / 1.287 GB, free: 104 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)