Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001102/0.001103, allocations: 182 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.769/1.769, allocations: 194.3 MB / 208.4 MB, free: 6.719 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001908/0.001908, allocations: 112.7 kB / 253.5 MB, free: 9.594 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.788e-05/4.79e-05, allocations: 4 kB / 305 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1023, allocations: 44.5 MB / 349.5 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.278/1.38, allocations: 433.8 MB / 0.7649 GB, free: 97.05 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002985/1.381, allocations: 88.19 kB / 0.765 GB, free: 97 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5513/1.932, allocations: 143.1 MB / 0.9047 GB, free: 105.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/1.932, allocations: 0 / 0.9047 GB, free: 105.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.862e-05/1.932, allocations: 11.94 kB / 0.9048 GB, free: 105.5 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008249/1.933, allocations: 0.5951 MB / 0.9053 GB, free: 105 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/1.933, allocations: 7.531 kB / 0.9053 GB, free: 105 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002658/1.933, allocations: 43.62 kB / 0.9054 GB, free: 105 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003134/1.934, allocations: 280.3 kB / 0.9057 GB, free: 104.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/1.934, allocations: 20.19 kB / 0.9057 GB, free: 104.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.18e-05/1.934, allocations: 25.81 kB / 0.9057 GB, free: 104.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004197/1.934, allocations: 308.1 kB / 0.906 GB, free: 104.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/1.934, allocations: 7.531 kB / 0.906 GB, free: 104.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.443e-05/1.934, allocations: 10.19 kB / 0.906 GB, free: 104.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/1.934, allocations: 7.781 kB / 0.906 GB, free: 104.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002802/1.934, allocations: 194.5 kB / 0.9062 GB, free: 104.7 MB / 410.7 MB 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.00141/1.936, allocations: 1.578 MB / 0.9077 GB, free: 103.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000258/1.936, allocations: 168.4 kB / 0.9079 GB, free: 103.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/1.936, allocations: 92.25 kB / 0.908 GB, free: 103.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.852e-05/1.936, allocations: 5.516 kB / 0.908 GB, free: 103.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/1.936, allocations: 41.09 kB / 0.908 GB, free: 103.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 1.353e-06/1.936, allocations: 4.125 kB / 0.908 GB, free: 103.5 MB / 410.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.004494/1.941, allocations: 1.245 MB / 0.9093 GB, free: 103 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/1.941, allocations: 55.39 kB / 0.9093 GB, free: 103 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/1.941, allocations: 228 kB / 0.9095 GB, free: 102.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/1.941, allocations: 33.23 kB / 0.9096 GB, free: 102.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.452e-05/1.941, allocations: 169.7 kB / 0.9097 GB, free: 102.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.305e-05/1.941, allocations: 103.5 kB / 0.9098 GB, free: 102.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.803e-05/1.941, allocations: 9.906 kB / 0.9098 GB, free: 102.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.993e-05/1.941, allocations: 336.6 kB / 0.9101 GB, free: 102.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/1.941, allocations: 88.91 kB / 0.9102 GB, free: 102.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/1.942, allocations: 181 kB / 0.9104 GB, free: 102.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001822/1.942, allocations: 119.4 kB / 0.9105 GB, free: 102.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/1.942, allocations: 0 / 0.9105 GB, free: 102.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005939/1.942, allocations: 395.4 kB / 0.9109 GB, free: 102.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/1.942, allocations: 7.812 kB / 0.9109 GB, free: 102.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/1.943, allocations: 3.875 kB / 0.9109 GB, free: 102.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002246/1.943, allocations: 75.98 kB / 0.911 GB, free: 102.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003466/1.943, allocations: 89.03 kB / 0.9111 GB, free: 102.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001032/1.944, allocations: 1.847 MB / 0.9129 GB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002186/1.944, allocations: 15.47 kB / 0.9129 GB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-05/1.944, allocations: 41.98 kB / 0.9129 GB, free: 100.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001044/1.945, allocations: 127.4 kB / 0.913 GB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.273e-05/1.945, allocations: 35.33 kB / 0.9131 GB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008674/1.945, allocations: 434.1 kB / 0.9135 GB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/1.945, allocations: 7.031 kB / 0.9135 GB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/1.946, allocations: 0 / 0.9135 GB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004156/1.946, allocations: 0.5538 MB / 0.914 GB, free: 99.74 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008235/1.947, allocations: 0.7262 MB / 0.9147 GB, free: 99.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/1.947, allocations: 0 / 0.9147 GB, free: 99.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002875/1.947, allocations: 72.98 kB / 0.9148 GB, free: 99.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.017e-05/1.947, allocations: 22.53 kB / 0.9148 GB, free: 99.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.464e-05/1.947, allocations: 14.52 kB / 0.9149 GB, free: 99.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005792/1.948, allocations: 1.28 MB / 0.9161 GB, free: 98.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/1.948, allocations: 2.953 kB / 0.9161 GB, free: 98.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005358/1.948, allocations: 0.4911 MB / 0.9166 GB, free: 97.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.844e-05/1.948, allocations: 104.7 kB / 0.9167 GB, free: 97.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.149e-05/1.948, allocations: 7.156 kB / 0.9167 GB, free: 97.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002374/1.949, allocations: 21.36 kB / 0.9167 GB, free: 97.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.936e-05/1.949, allocations: 25.8 kB / 0.9167 GB, free: 97.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.734e-05/1.949, allocations: 29.41 kB / 0.9168 GB, free: 97.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001488/1.949, allocations: 185.5 kB / 0.9169 GB, free: 97.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.949, allocations: 0 / 0.9169 GB, free: 97.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007192/1.95, allocations: 189.4 kB / 0.9171 GB, free: 97.71 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001105/1.951, allocations: 0.7673 MB / 0.9179 GB, free: 97.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000567/1.951, allocations: 361.9 kB / 0.9182 GB, free: 97.42 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.951, allocations: 0 / 0.9182 GB, free: 97.42 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002227/1.952, allocations: 237 kB / 0.9184 GB, free: 97.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007933/1.952, allocations: 158.1 kB / 0.9186 GB, free: 97.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007799/1.953, allocations: 494.6 kB / 0.9191 GB, free: 97.13 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/1.953, allocations: 0.775 MB / 0.9198 GB, free: 96.43 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005001/1.954, allocations: 116.1 kB / 0.9199 GB, free: 96.42 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001919/1.954, allocations: 59.8 kB / 0.92 GB, free: 96.41 MB / 410.7 MB Notification: Performance of SimCode: time 3.51e-07/1.954, allocations: 0 / 0.92 GB, free: 96.41 MB / 410.7 MB Notification: Performance of Templates: time 0.02504/1.979, allocations: 19.84 MB / 0.9394 GB, free: 87.36 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1)