Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.00204/0.002041, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.917/1.917, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4693/0.4693, allocations: 40 MB / 310.4 MB, free: 9.66 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005613/0.0005614, allocations: 20 kB / 378.9 MB, free: 12.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1335, allocations: 57.95 MB / 436.8 MB, free: 2.266 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.4146/0.5481, allocations: 134.4 MB / 0.5578 GB, free: 11.23 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008744/0.5569, allocations: 5.333 MB / 0.563 GB, free: 6.918 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001457/0.5584, allocations: 26.66 kB / 0.563 GB, free: 6.902 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.5595, allocations: 264.8 kB / 0.5633 GB, free: 6.68 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002547/0.5621, allocations: 0.8004 MB / 0.564 GB, free: 6.039 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002624/0.5647, allocations: 0.8009 MB / 0.5648 GB, free: 5.48 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002882/0.5676, allocations: 2.202 MB / 0.567 GB, free: 3.512 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006739/0.5683, allocations: 374 kB / 0.5673 GB, free: 3.148 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001329/0.5697, allocations: 0.6616 MB / 0.568 GB, free: 2.484 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001094/0.5708, allocations: 0.6969 MB / 0.5687 GB, free: 1.785 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.811e-05/0.5709, allocations: 32 kB / 0.5687 GB, free: 1.754 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00114/0.572, allocations: 419.2 kB / 0.5691 GB, free: 1.344 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002646/0.5723, allocations: 231.3 kB / 0.5693 GB, free: 1.117 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002088/0.5725, allocations: 161.3 kB / 0.5695 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009218/0.5734, allocations: 0.8143 MB / 0.5703 GB, free: 140 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.5735, allocations: 0 / 0.5703 GB, free: 140 kB / 430.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5735, allocations: 0 / 0.5703 GB, free: 140 kB / 430.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.5735, allocations: 0 / 0.5703 GB, free: 140 kB / 430.1 MB 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.001861/0.5754, allocations: 0.9244 MB / 0.5712 GB, free: 15.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.5754, allocations: 12.56 kB / 0.5712 GB, free: 15.15 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003152/0.5757, allocations: 94.84 kB / 0.5713 GB, free: 15.06 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007946/0.5765, allocations: 0.4966 MB / 0.5717 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001621/0.5767, allocations: 104.4 kB / 0.5718 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.323e-05/0.5768, allocations: 51.98 kB / 0.5719 GB, free: 14.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/0.5781, allocations: 0.8111 MB / 0.5727 GB, free: 13.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/0.5782, allocations: 7.891 kB / 0.5727 GB, free: 13.47 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.252e-05/0.5783, allocations: 24 kB / 0.5727 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.154e-05/0.5783, allocations: 36.98 kB / 0.5728 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.5794, allocations: 0.6478 MB / 0.5734 GB, free: 12.77 MB / 446.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.004731/0.5841, allocations: 3.959 MB / 0.5773 GB, free: 8.531 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008042/0.585, allocations: 429.6 kB / 0.5777 GB, free: 8.105 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003287/0.5853, allocations: 206.7 kB / 0.5779 GB, free: 7.902 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006644/0.586, allocations: 0.7288 MB / 0.5786 GB, free: 7.008 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/0.586, allocations: 46.89 kB / 0.5786 GB, free: 6.953 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.304e-06/0.586, allocations: 0 / 0.5786 GB, free: 6.953 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.003359/0.5894, allocations: 1.539 MB / 0.5801 GB, free: 5.344 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.217e-05/0.5895, allocations: 136.5 kB / 0.5803 GB, free: 5.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007579/0.5903, allocations: 0.5615 MB / 0.5808 GB, free: 4.609 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.982e-05/0.5904, allocations: 33.7 kB / 0.5808 GB, free: 4.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003162/0.5907, allocations: 351 kB / 0.5812 GB, free: 4.223 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/0.5908, allocations: 169.7 kB / 0.5813 GB, free: 4.055 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.211e-05/0.5909, allocations: 12 kB / 0.5813 GB, free: 4.043 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001853/0.5911, allocations: 374.7 kB / 0.5817 GB, free: 3.668 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003508/0.5914, allocations: 221.9 kB / 0.5819 GB, free: 3.453 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006301/0.5921, allocations: 0.5123 MB / 0.5824 GB, free: 2.805 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005127/0.5926, allocations: 308.6 kB / 0.5827 GB, free: 2.504 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.5926, allocations: 4 kB / 0.5827 GB, free: 2.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002103/0.5947, allocations: 0.8981 MB / 0.5836 GB, free: 1.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.041e-05/0.5948, allocations: 11.95 kB / 0.5836 GB, free: 1.578 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.946e-05/0.5948, allocations: 8 kB / 0.5836 GB, free: 1.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001593/0.5964, allocations: 305.1 kB / 0.5839 GB, free: 1.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004523/0.5969, allocations: 115.8 kB / 0.584 GB, free: 1.156 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001248/0.5981, allocations: 0.8866 MB / 0.5849 GB, free: 252 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007952/0.599, allocations: 44.05 kB / 0.5849 GB, free: 208 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.575e-05/0.5991, allocations: 39.98 kB / 0.585 GB, free: 168 kB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (71): * Single equations (assignments): 70 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0005833/0.5996, allocations: 249.4 kB / 0.5852 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/0.5998, allocations: 67.16 kB / 0.5853 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001324/0.6011, allocations: 0.772 MB / 0.586 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/0.6012, allocations: 11.94 kB / 0.586 GB, free: 15.03 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.6012, allocations: 4 kB / 0.586 GB, free: 15.03 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.6012, allocations: 0 / 0.586 GB, free: 15.03 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00226/0.6035, allocations: 1.411 MB / 0.5874 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/0.6035, allocations: 7.125 kB / 0.5874 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/0.6045, allocations: 199.8 kB / 0.5876 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001386/0.6047, allocations: 24.84 kB / 0.5876 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.577e-05/0.6047, allocations: 20.17 kB / 0.5876 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002036/0.6068, allocations: 2.68 MB / 0.5903 GB, free: 10.33 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.6068, allocations: 0 / 0.5903 GB, free: 10.33 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001537/0.6083, allocations: 1.007 MB / 0.5912 GB, free: 9.266 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003909/0.6087, allocations: 204.2 kB / 0.5914 GB, free: 9.047 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.411e-05/0.6088, allocations: 8 kB / 0.5914 GB, free: 9.039 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004024/0.6092, allocations: 29.55 kB / 0.5915 GB, free: 9.012 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.286e-05/0.6093, allocations: 39.97 kB / 0.5915 GB, free: 8.973 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.022e-05/0.6094, allocations: 27.98 kB / 0.5915 GB, free: 8.945 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005436/0.6099, allocations: 407 kB / 0.5919 GB, free: 8.551 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.503e-06/0.61, allocations: 0 / 0.5919 GB, free: 8.551 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008873/0.6108, allocations: 227.9 kB / 0.5921 GB, free: 8.328 MB / 462.1 MB 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0005383/0.6114, allocations: 245 kB / 0.5924 GB, free: 8.086 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001256/0.6127, allocations: 0.5991 MB / 0.593 GB, free: 7.484 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.6127, allocations: 8 kB / 0.593 GB, free: 7.477 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.6137, allocations: 454.2 kB / 0.5934 GB, free: 7.02 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/0.6152, allocations: 327.2 kB / 0.5937 GB, free: 6.703 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002414/0.6176, allocations: 1.623 MB / 0.5953 GB, free: 5.043 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006058/0.6183, allocations: 0.9387 MB / 0.5962 GB, free: 4.078 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007248/0.619, allocations: 205.4 kB / 0.5964 GB, free: 3.879 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/0.6191, allocations: 63.42 kB / 0.5965 GB, free: 3.816 MB / 462.1 MB Notification: Performance of SimCode: time 6.92e-07/0.6192, allocations: 4 kB / 0.5965 GB, free: 3.812 MB / 462.1 MB Notification: Performance of Templates: time 0.02461/0.6438, allocations: 13.74 MB / 0.6099 GB, free: 6.125 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) Environment - environmentSimulation: