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.0016/0.0016, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002724/0.002724, allocations: 192.1 kB / 16.25 MB, free: 6.629 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.739/1.739, allocations: 205.1 MB / 222.1 MB, free: 4.738 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.3642/0.3642, allocations: 39.93 MB / 309.4 MB, free: 9.699 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.001627/0.001627, allocations: 67.89 kB / 377.1 MB, free: 13.3 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.145, allocations: 56.89 MB / 434 MB, free: 4.309 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3997/0.5448, allocations: 146.1 MB / 0.5665 GB, free: 1.781 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009638/0.5545, allocations: 5.662 MB / 0.5721 GB, free: 12.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001378/0.5561, allocations: 27.75 kB / 0.5721 GB, free: 12.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001389/0.5575, allocations: 286.5 kB / 0.5724 GB, free: 11.81 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002439/0.5599, allocations: 0.8049 MB / 0.5732 GB, free: 11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003591/0.5635, allocations: 0.9457 MB / 0.5741 GB, free: 10.06 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003236/0.5668, allocations: 1.809 MB / 0.5758 GB, free: 8.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008148/0.5676, allocations: 470.2 kB / 0.5763 GB, free: 7.797 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001582/0.5692, allocations: 0.7513 MB / 0.577 GB, free: 7.043 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00138/0.5706, allocations: 0.7436 MB / 0.5778 GB, free: 6.297 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001369/0.5707, allocations: 64 kB / 0.5778 GB, free: 6.234 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001295/0.572, allocations: 0.5341 MB / 0.5783 GB, free: 5.699 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003193/0.5724, allocations: 279.2 kB / 0.5786 GB, free: 5.426 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000468/0.5729, allocations: 394.2 kB / 0.579 GB, free: 5.039 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001462/0.5743, allocations: 1.137 MB / 0.5801 GB, free: 3.898 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.5743, allocations: 4 kB / 0.5801 GB, free: 3.895 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.5744, allocations: 0 / 0.5801 GB, free: 3.895 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.5744, allocations: 0 / 0.5801 GB, free: 3.895 MB / 446.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.002129/0.5765, allocations: 1.061 MB / 0.5811 GB, free: 2.785 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.5766, allocations: 11.89 kB / 0.5811 GB, free: 2.773 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003748/0.577, allocations: 92.08 kB / 0.5812 GB, free: 2.684 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007024/0.5777, allocations: 0.5053 MB / 0.5817 GB, free: 2.137 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001305/0.5778, allocations: 108.9 kB / 0.5818 GB, free: 2.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.552e-05/0.5779, allocations: 44.56 kB / 0.5819 GB, free: 1.977 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001341/0.5793, allocations: 0.8235 MB / 0.5827 GB, free: 1.086 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.5793, allocations: 0 / 0.5827 GB, free: 1.086 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.234e-05/0.5794, allocations: 27.98 kB / 0.5827 GB, free: 1.059 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.499e-05/0.5795, allocations: 44.91 kB / 0.5827 GB, free: 1.016 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/0.5805, allocations: 0.6478 MB / 0.5834 GB, free: 376 kB / 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.004347/0.5848, allocations: 3.959 MB / 0.5872 GB, free: 12.13 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007363/0.5856, allocations: 421.2 kB / 0.5876 GB, free: 11.71 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002903/0.5859, allocations: 201.4 kB / 0.5878 GB, free: 11.51 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005562/0.5865, allocations: 0.7482 MB / 0.5886 GB, free: 10.59 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.5865, allocations: 35.22 kB / 0.5886 GB, free: 10.55 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 1.673e-06/0.5865, allocations: 4 kB / 0.5886 GB, free: 10.55 MB / 462.1 MB Notification: Performance of matching and sorting (n=45): time 0.003024/0.5895, allocations: 1.534 MB / 0.5901 GB, free: 8.941 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.582e-05/0.5896, allocations: 144.4 kB / 0.5902 GB, free: 8.77 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005905/0.5902, allocations: 0.5654 MB / 0.5908 GB, free: 8.195 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.932e-05/0.5903, allocations: 37.7 kB / 0.5908 GB, free: 8.152 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002278/0.5905, allocations: 358.9 kB / 0.5912 GB, free: 7.797 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.5907, allocations: 161.7 kB / 0.5913 GB, free: 7.637 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001786/0.5908, allocations: 142.4 kB / 0.5915 GB, free: 7.492 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.591, allocations: 378.8 kB / 0.5918 GB, free: 7.113 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003516/0.5913, allocations: 213.9 kB / 0.592 GB, free: 6.902 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005775/0.5919, allocations: 0.5084 MB / 0.5925 GB, free: 6.258 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009151/0.5929, allocations: 0.7679 MB / 0.5933 GB, free: 5.363 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.5929, allocations: 4 kB / 0.5933 GB, free: 5.359 MB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001441/0.5943, allocations: 0.9142 MB / 0.5942 GB, free: 4.438 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.5943, allocations: 11.94 kB / 0.5942 GB, free: 4.426 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.5944, allocations: 12.09 kB / 0.5942 GB, free: 4.414 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001379/0.5957, allocations: 286.4 kB / 0.5945 GB, free: 4.133 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000366/0.5961, allocations: 119.8 kB / 0.5946 GB, free: 4.016 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009538/0.5971, allocations: 0.884 MB / 0.5954 GB, free: 3.105 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004703/0.5976, allocations: 47.98 kB / 0.5955 GB, free: 3.059 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.948e-05/0.5976, allocations: 35.98 kB / 0.5955 GB, free: 3.023 MB / 462.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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003206/0.598, allocations: 251.7 kB / 0.5958 GB, free: 2.77 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.5981, allocations: 67.16 kB / 0.5958 GB, free: 2.703 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001198/0.5993, allocations: 0.771 MB / 0.5966 GB, free: 1.906 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.5993, allocations: 4 kB / 0.5966 GB, free: 1.902 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.5994, allocations: 4 kB / 0.5966 GB, free: 1.898 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.5994, allocations: 3.984 kB / 0.5966 GB, free: 1.895 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001809/0.6012, allocations: 1.411 MB / 0.598 GB, free: 396 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.6012, allocations: 4.188 kB / 0.598 GB, free: 392 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009851/0.6022, allocations: 215.6 kB / 0.5982 GB, free: 176 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.079e-05/0.6023, allocations: 16.84 kB / 0.5982 GB, free: 156 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.421e-05/0.6023, allocations: 16 kB / 0.5982 GB, free: 140 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002022/0.6043, allocations: 2.872 MB / 0.601 GB, free: 12.99 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.6044, allocations: 3.938 kB / 0.601 GB, free: 12.98 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001279/0.6056, allocations: 1.011 MB / 0.602 GB, free: 11.92 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002342/0.6059, allocations: 200.2 kB / 0.6022 GB, free: 11.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.986e-05/0.606, allocations: 12 kB / 0.6022 GB, free: 11.69 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004272/0.6064, allocations: 35.94 kB / 0.6022 GB, free: 11.66 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.794e-05/0.6065, allocations: 39.89 kB / 0.6023 GB, free: 11.62 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.616e-05/0.6066, allocations: 23.98 kB / 0.6023 GB, free: 11.59 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004517/0.607, allocations: 427 kB / 0.6027 GB, free: 11.18 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.607, allocations: 0 / 0.6027 GB, free: 11.18 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007999/0.6078, allocations: 227.9 kB / 0.6029 GB, free: 10.96 MB / 478.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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.000609/0.6085, allocations: 282.3 kB / 0.6032 GB, free: 10.69 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001309/0.6098, allocations: 0.6603 MB / 0.6038 GB, free: 10.03 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.6098, allocations: 0 / 0.6038 GB, free: 10.03 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009687/0.6108, allocations: 459.9 kB / 0.6043 GB, free: 9.566 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001605/0.6124, allocations: 370.5 kB / 0.6046 GB, free: 9.219 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/0.6145, allocations: 1.614 MB / 0.6062 GB, free: 7.559 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005006/0.615, allocations: 0.9268 MB / 0.6071 GB, free: 6.602 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006696/0.6157, allocations: 214 kB / 0.6073 GB, free: 6.391 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/0.6159, allocations: 71.42 kB / 0.6074 GB, free: 6.32 MB / 478.1 MB Notification: Performance of SimCode: time 5.81e-07/0.6159, allocations: 0 / 0.6074 GB, free: 6.32 MB / 478.1 MB Notification: Performance of Templates: time 0.02756/0.6434, allocations: 15.43 MB / 0.6225 GB, free: 6.926 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile (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)