Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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.1_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.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00989/0.00989, allocations: 170.1 kB / 16.27 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.52/1.52, allocations: 205.4 MB / 222.4 MB, free: 5.547 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007927/0.0007927, allocations: 16 kB / 279.5 MB, free: 12.48 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.277, allocations: 47.58 MB / 327 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.4688/0.7459, allocations: 168.3 MB / 495.4 MB, free: 14.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003426/0.7493, allocations: 3.195 MB / 498.6 MB, free: 13.78 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003205/0.7497, allocations: 0 / 498.6 MB, free: 13.78 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005815/0.7503, allocations: 139.8 kB / 498.7 MB, free: 13.74 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009038/0.7512, allocations: 389 kB / 499.1 MB, free: 13.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008582/0.7521, allocations: 318.1 kB / 499.4 MB, free: 13.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001177/0.7533, allocations: 1.351 MB / 0.489 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.7534, allocations: 70.56 kB / 0.4891 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001596/0.755, allocations: 0.7109 MB / 0.4898 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003353/0.7554, allocations: 282.4 kB / 0.49 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.035e-05/0.7554, allocations: 13.44 kB / 0.49 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002801/0.7557, allocations: 108 kB / 0.4901 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.7558, allocations: 84.95 kB / 0.4902 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001783/0.756, allocations: 190.9 kB / 0.4904 GB, free: 13.03 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004901/0.7565, allocations: 0.4929 MB / 0.4909 GB, free: 12.8 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.7565, allocations: 3.75 kB / 0.4909 GB, free: 12.8 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.7565, allocations: 0 / 0.4909 GB, free: 12.8 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.7565, allocations: 0 / 0.4909 GB, free: 12.8 MB / 398.1 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.0007749/0.7573, allocations: 0.5224 MB / 0.4914 GB, free: 12.33 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.7574, allocations: 8 kB / 0.4914 GB, free: 12.33 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002835/0.7577, allocations: 44.27 kB / 0.4915 GB, free: 12.31 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003205/0.758, allocations: 285.4 kB / 0.4917 GB, free: 12.06 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.758, allocations: 15.94 kB / 0.4917 GB, free: 12.06 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.634e-05/0.7581, allocations: 27.31 kB / 0.4918 GB, free: 12.06 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004764/0.7586, allocations: 323.6 kB / 0.4921 GB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.7586, allocations: 3.938 kB / 0.4921 GB, free: 11.9 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.939e-05/0.7586, allocations: 12.38 kB / 0.4921 GB, free: 11.9 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.7586, allocations: 5.75 kB / 0.4921 GB, free: 11.9 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003014/0.7589, allocations: 209.1 kB / 0.4923 GB, free: 11.87 MB / 398.1 MB 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.00167/0.7606, allocations: 1.579 MB / 0.4938 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003216/0.761, allocations: 178.7 kB / 0.494 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.7611, allocations: 96.02 kB / 0.4941 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.722e-05/0.7612, allocations: 6.406 kB / 0.4941 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.7612, allocations: 33.19 kB / 0.4941 GB, free: 10.43 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.683e-06/0.7612, allocations: 0 / 0.4941 GB, free: 10.43 MB / 398.1 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.005633/0.7668, allocations: 1.626 MB / 0.4957 GB, free: 9.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.7669, allocations: 58.03 kB / 0.4958 GB, free: 9.457 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002698/0.7672, allocations: 254.5 kB / 0.496 GB, free: 9.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.664e-05/0.7672, allocations: 32.33 kB / 0.4961 GB, free: 9.289 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.7673, allocations: 182.3 kB / 0.4962 GB, free: 9.148 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.669e-05/0.7674, allocations: 96.08 kB / 0.4963 GB, free: 9.078 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-05/0.7675, allocations: 35.39 kB / 0.4964 GB, free: 9.059 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.7676, allocations: 345.8 kB / 0.4967 GB, free: 8.73 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.7678, allocations: 87.09 kB / 0.4968 GB, free: 8.719 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.768, allocations: 191.2 kB / 0.497 GB, free: 8.586 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003717/0.7684, allocations: 309.7 kB / 0.4972 GB, free: 8.438 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.7684, allocations: 0 / 0.4972 GB, free: 8.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006038/0.769, allocations: 401.5 kB / 0.4976 GB, free: 8.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.769, allocations: 6.219 kB / 0.4976 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.7691, allocations: 2.625 kB / 0.4976 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002078/0.7693, allocations: 70.03 kB / 0.4977 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003197/0.7696, allocations: 85.67 kB / 0.4978 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001397/0.771, allocations: 1.852 MB / 0.4996 GB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002377/0.7713, allocations: 22.36 kB / 0.4996 GB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.755e-05/0.7713, allocations: 37.28 kB / 0.4997 GB, free: 6.449 MB / 398.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001744/0.7715, allocations: 166.5 kB / 0.4998 GB, free: 6.316 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.119e-05/0.7716, allocations: 33.81 kB / 0.4998 GB, free: 6.297 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009329/0.7725, allocations: 432.5 kB / 0.5003 GB, free: 6.145 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.7725, allocations: 3.156 kB / 0.5003 GB, free: 6.145 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.7725, allocations: 0 / 0.5003 GB, free: 6.145 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005601/0.7731, allocations: 0.5688 MB / 0.5008 GB, free: 5.664 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.7741, allocations: 0.722 MB / 0.5015 GB, free: 5.242 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.7742, allocations: 3.984 kB / 0.5015 GB, free: 5.238 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003064/0.7745, allocations: 68.25 kB / 0.5016 GB, free: 5.223 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.336e-05/0.7746, allocations: 27.25 kB / 0.5016 GB, free: 5.207 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.179e-05/0.7746, allocations: 17.61 kB / 0.5016 GB, free: 5.199 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/0.7756, allocations: 1.284 MB / 0.5029 GB, free: 3.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.7756, allocations: 0 / 0.5029 GB, free: 3.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006829/0.7763, allocations: 495 kB / 0.5034 GB, free: 3.688 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.7764, allocations: 107.6 kB / 0.5035 GB, free: 3.574 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.559e-05/0.7765, allocations: 3.5 kB / 0.5035 GB, free: 3.574 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002575/0.7768, allocations: 16.36 kB / 0.5035 GB, free: 3.57 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.215e-05/0.7768, allocations: 28.47 kB / 0.5035 GB, free: 3.559 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.847e-05/0.7769, allocations: 32.61 kB / 0.5035 GB, free: 3.555 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002153/0.7771, allocations: 195 kB / 0.5037 GB, free: 3.453 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7771, allocations: 0 / 0.5037 GB, free: 3.453 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005678/0.7777, allocations: 125.6 kB / 0.5038 GB, free: 3.445 MB / 398.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003933/0.7781, allocations: 147.4 kB / 0.504 GB, free: 3.336 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006809/0.7788, allocations: 371.6 kB / 0.5043 GB, free: 3.184 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.7788, allocations: 0 / 0.5043 GB, free: 3.184 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002957/0.7791, allocations: 233 kB / 0.5046 GB, free: 3.051 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.7801, allocations: 162.1 kB / 0.5047 GB, free: 2.988 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.7813, allocations: 0.8548 MB / 0.5056 GB, free: 2.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.7816, allocations: 0.7695 MB / 0.5063 GB, free: 1.676 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005496/0.7822, allocations: 119.3 kB / 0.5064 GB, free: 1.617 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002024/0.7824, allocations: 60.91 kB / 0.5065 GB, free: 1.598 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.7824, allocations: 4 kB / 0.5065 GB, free: 1.594 MB / 398.1 MB Notification: Performance of Templates: time 0.01421/0.7966, allocations: 8.401 MB / 0.5147 GB, free: 13.32 MB / 414.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1)