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.001451/0.001452, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 225.6 MB / 234.8 MB, free: 3.23 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009821/0.0009822, allocations: 93.95 kB / 286.7 MB, free: 5.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2599/0.2599, allocations: 45.14 MB / 383.7 MB, free: 256 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.651e-05/1.651e-05, allocations: 0 / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1508, allocations: 63.25 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.749/1.9, allocations: 0.5104 GB / 1.015 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003182/1.901, allocations: 87.45 kB / 1.015 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.8089/2.709, allocations: 202 MB / 1.212 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.783e-06/2.709, allocations: 0 / 1.212 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.887e-05/2.71, allocations: 17.81 kB / 1.212 GB, free: 120.2 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.002885/2.712, allocations: 1.055 MB / 1.213 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/2.713, allocations: 7.938 kB / 1.213 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007662/2.713, allocations: 132.9 kB / 1.213 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009369/2.714, allocations: 0.5416 MB / 1.214 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.078e-05/2.714, allocations: 83.38 kB / 1.214 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.836e-05/2.714, allocations: 29.69 kB / 1.214 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008206/2.715, allocations: 0.5302 MB / 1.214 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000934/2.716, allocations: 0.7345 MB / 1.215 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/2.716, allocations: 0 / 1.215 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.703e-05/2.716, allocations: 7.922 kB / 1.215 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.786e-05/2.716, allocations: 36.41 kB / 1.215 GB, free: 118.7 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.003677/2.72, allocations: 3.977 MB / 1.219 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003446/2.72, allocations: 255.8 kB / 1.219 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001735/2.721, allocations: 132.2 kB / 1.22 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.365e-05/2.721, allocations: 91.08 kB / 1.22 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/2.721, allocations: 42.02 kB / 1.22 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 2.254e-06/2.721, allocations: 2.625 kB / 1.22 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.0048/2.726, allocations: 1.389 MB / 1.221 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/2.726, allocations: 136.2 kB / 1.221 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005148/2.726, allocations: 460.7 kB / 1.222 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/2.726, allocations: 25.7 kB / 1.222 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/2.726, allocations: 396.4 kB / 1.222 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.413e-05/2.726, allocations: 119.3 kB / 1.222 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/2.726, allocations: 0 / 1.222 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.19e-05/2.727, allocations: 367.6 kB / 1.222 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002408/2.727, allocations: 178.6 kB / 1.223 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004345/2.727, allocations: 492.2 kB / 1.223 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004908/2.728, allocations: 307.6 kB / 1.223 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/2.728, allocations: 3.812 kB / 1.223 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001208/2.729, allocations: 0.7934 MB / 1.224 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/2.729, allocations: 10.11 kB / 1.224 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/2.729, allocations: 11.41 kB / 1.224 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/2.73, allocations: 282.3 kB / 1.224 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003775/2.731, allocations: 121.1 kB / 1.225 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000948/2.732, allocations: 0.9411 MB / 1.225 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006201/2.732, allocations: 37.03 kB / 1.226 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/2.732, allocations: 71.11 kB / 1.226 GB, free: 111.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.0002071/2.732, allocations: 132.3 kB / 1.226 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000706/2.733, allocations: 413.2 kB / 1.226 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.026e-05/2.733, allocations: 56.47 kB / 1.226 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001179/2.734, allocations: 0.6062 MB / 1.227 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/2.734, allocations: 3.781 kB / 1.227 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/2.735, allocations: 0 / 1.227 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/2.735, allocations: 0 / 1.227 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/2.736, allocations: 0.9902 MB / 1.228 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/2.736, allocations: 0 / 1.228 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009321/2.737, allocations: 198.2 kB / 1.228 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.92e-05/2.737, allocations: 22.03 kB / 1.228 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.417e-05/2.737, allocations: 14.69 kB / 1.228 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001412/2.738, allocations: 2.581 MB / 1.23 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/2.739, allocations: 3.516 kB / 1.23 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008839/2.739, allocations: 0.6867 MB / 1.231 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002473/2.74, allocations: 175.9 kB / 1.231 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.302e-05/2.74, allocations: 0 / 1.231 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003916/2.74, allocations: 24.14 kB / 1.231 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.559e-05/2.74, allocations: 33.83 kB / 1.231 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.599e-05/2.74, allocations: 38.97 kB / 1.231 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000381/2.741, allocations: 337.5 kB / 1.232 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.31e-07/2.741, allocations: 0 / 1.232 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001261/2.742, allocations: 300.6 kB / 1.232 GB, free: 107.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (34): * Single equations (assignments): 32 * 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.002622/2.745, allocations: 2.269 MB / 1.234 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009506/2.746, allocations: 490.9 kB / 1.235 GB, free: 106 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/2.746, allocations: 3.5 kB / 1.235 GB, free: 106 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007479/2.746, allocations: 358.3 kB / 1.235 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/2.748, allocations: 238.3 kB / 1.235 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/2.75, allocations: 1.051 MB / 1.236 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003893/2.75, allocations: 0.9416 MB / 1.237 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001099/2.751, allocations: 407.7 kB / 1.238 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000451/2.752, allocations: 260.8 kB / 1.238 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of SimCode: time 6.11e-07/2.752, allocations: 0 / 1.238 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0511/2.803, allocations: 24.78 MB / 1.262 GB, free: 92.46 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001814/2.803, allocations: 193.4 kB / 1.262 GB, free: 92.27 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.861/5.664, allocations: 1.828 kB / 1.262 GB, free: 92.27 MB / 0.5261 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)