Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_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.1_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.001221/0.001221, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001289/0.001289, allocations: 187.3 kB / 16.25 MB, free: 6.145 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.683/1.683, allocations: 205.1 MB / 222.1 MB, free: 4.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3231/0.3231, allocations: 37.98 MB / 307.4 MB, free: 10.19 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.1. 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.001363/0.001363, allocations: 70.62 kB / 374.7 MB, free: 15.51 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1154, allocations: 56.47 MB / 431.2 MB, free: 6.949 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3609/0.4764, allocations: 146.1 MB / 0.5638 GB, free: 5.059 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007667/0.4841, allocations: 5.673 MB / 0.5693 GB, free: 188 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008701/0.4851, allocations: 23.81 kB / 0.5694 GB, free: 164 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009606/0.486, allocations: 286.5 kB / 0.5696 GB, free: 15.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002088/0.4881, allocations: 0.8049 MB / 0.5704 GB, free: 15.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002671/0.4908, allocations: 0.9596 MB / 0.5714 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002306/0.4931, allocations: 1.801 MB / 0.5731 GB, free: 12.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007155/0.4939, allocations: 458.9 kB / 0.5736 GB, free: 11.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001383/0.4953, allocations: 0.7551 MB / 0.5743 GB, free: 11.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001113/0.4964, allocations: 0.7475 MB / 0.575 GB, free: 10.37 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001238/0.4965, allocations: 60 kB / 0.5751 GB, free: 10.31 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001224/0.4978, allocations: 0.538 MB / 0.5756 GB, free: 9.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002576/0.498, allocations: 275.2 kB / 0.5759 GB, free: 9.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003668/0.4984, allocations: 402.2 kB / 0.5763 GB, free: 9.105 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001254/0.4997, allocations: 1.137 MB / 0.5774 GB, free: 7.965 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.768e-06/0.4997, allocations: 0 / 0.5774 GB, free: 7.965 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.4997, allocations: 0 / 0.5774 GB, free: 7.965 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.716e-05/0.4997, allocations: 0 / 0.5774 GB, free: 7.965 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.002014/0.5017, allocations: 1.059 MB / 0.5784 GB, free: 6.859 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.5018, allocations: 11.89 kB / 0.5784 GB, free: 6.848 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003526/0.5021, allocations: 95.98 kB / 0.5785 GB, free: 6.754 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007221/0.5029, allocations: 0.5093 MB / 0.579 GB, free: 6.203 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.503, allocations: 101 kB / 0.5791 GB, free: 6.094 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.916e-05/0.5031, allocations: 57.41 kB / 0.5792 GB, free: 6.039 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/0.5044, allocations: 0.8188 MB / 0.58 GB, free: 5.152 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.5044, allocations: 3.938 kB / 0.58 GB, free: 5.148 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.508e-05/0.5045, allocations: 27.98 kB / 0.58 GB, free: 5.121 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.168e-05/0.5045, allocations: 36.98 kB / 0.58 GB, free: 5.086 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009967/0.5055, allocations: 0.6556 MB / 0.5807 GB, free: 4.426 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.004407/0.51, allocations: 3.959 MB / 0.5845 GB, free: 200 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007964/0.5108, allocations: 424.4 kB / 0.5849 GB, free: 15.77 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003175/0.5111, allocations: 205.4 kB / 0.5851 GB, free: 15.56 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005875/0.5117, allocations: 0.7327 MB / 0.5858 GB, free: 14.66 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.5117, allocations: 39.22 kB / 0.5859 GB, free: 14.62 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 1.963e-06/0.5118, allocations: 0 / 0.5859 GB, free: 14.62 MB / 462.1 MB Notification: Performance of matching and sorting (n=45): time 0.003245/0.515, allocations: 1.545 MB / 0.5874 GB, free: 13 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.014e-05/0.5151, allocations: 132.5 kB / 0.5875 GB, free: 12.84 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006773/0.5158, allocations: 0.5693 MB / 0.5881 GB, free: 12.26 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.081e-05/0.5159, allocations: 37.7 kB / 0.5881 GB, free: 12.22 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002654/0.5161, allocations: 351 kB / 0.5884 GB, free: 11.87 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001561/0.5163, allocations: 173.6 kB / 0.5886 GB, free: 11.7 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001997/0.5165, allocations: 142.5 kB / 0.5887 GB, free: 11.55 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.5167, allocations: 366.8 kB / 0.5891 GB, free: 11.19 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003612/0.5171, allocations: 221.9 kB / 0.5893 GB, free: 10.97 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005911/0.5177, allocations: 0.5162 MB / 0.5898 GB, free: 10.32 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009574/0.5186, allocations: 0.7562 MB / 0.5905 GB, free: 9.434 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.012e-06/0.5186, allocations: 4 kB / 0.5905 GB, free: 9.43 MB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00158/0.5202, allocations: 0.9138 MB / 0.5914 GB, free: 8.508 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/0.5203, allocations: 15.94 kB / 0.5915 GB, free: 8.492 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.5203, allocations: 8 kB / 0.5915 GB, free: 8.484 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001381/0.5217, allocations: 288.9 kB / 0.5917 GB, free: 8.199 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003711/0.5221, allocations: 119.8 kB / 0.5919 GB, free: 8.082 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00101/0.5231, allocations: 0.8888 MB / 0.5927 GB, free: 7.172 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004894/0.5236, allocations: 51.88 kB / 0.5928 GB, free: 7.121 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.815e-05/0.5236, allocations: 36 kB / 0.5928 GB, free: 7.086 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.00034/0.524, allocations: 251.6 kB / 0.593 GB, free: 6.832 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.5241, allocations: 63.25 kB / 0.5931 GB, free: 6.77 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001261/0.5254, allocations: 0.7674 MB / 0.5939 GB, free: 5.973 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.5254, allocations: 8 kB / 0.5939 GB, free: 5.965 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.5254, allocations: 0 / 0.5939 GB, free: 5.965 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.5254, allocations: 3.984 kB / 0.5939 GB, free: 5.961 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001856/0.5273, allocations: 1.42 MB / 0.5953 GB, free: 4.441 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.5273, allocations: 0 / 0.5953 GB, free: 4.441 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/0.5283, allocations: 199.8 kB / 0.5954 GB, free: 4.246 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.624e-05/0.5284, allocations: 25.03 kB / 0.5955 GB, free: 4.219 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.652e-05/0.5285, allocations: 20 kB / 0.5955 GB, free: 4.199 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002099/0.5306, allocations: 2.876 MB / 0.5983 GB, free: 1.047 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.5306, allocations: 4.031 kB / 0.5983 GB, free: 1.043 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/0.532, allocations: 1.003 MB / 0.5993 GB, free: 15.98 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003023/0.5324, allocations: 204.2 kB / 0.5995 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.474e-05/0.5325, allocations: 20.05 kB / 0.5995 GB, free: 15.75 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00044/0.5329, allocations: 27.98 kB / 0.5995 GB, free: 15.72 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.705e-05/0.533, allocations: 39.83 kB / 0.5996 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.008e-05/0.5331, allocations: 23.98 kB / 0.5996 GB, free: 15.66 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006117/0.5337, allocations: 435 kB / 0.6 GB, free: 15.23 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5337, allocations: 0 / 0.6 GB, free: 15.23 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009008/0.5346, allocations: 227.9 kB / 0.6002 GB, free: 15.01 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.0006458/0.5353, allocations: 260.2 kB / 0.6005 GB, free: 14.76 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001568/0.5368, allocations: 0.6648 MB / 0.6011 GB, free: 14.09 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.5369, allocations: 0.5625 kB / 0.6011 GB, free: 14.09 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001072/0.5379, allocations: 470.3 kB / 0.6016 GB, free: 13.62 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001733/0.5397, allocations: 375.1 kB / 0.6019 GB, free: 13.27 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002571/0.5423, allocations: 1.61 MB / 0.6035 GB, free: 11.62 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007245/0.543, allocations: 0.9346 MB / 0.6044 GB, free: 10.65 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008374/0.5438, allocations: 214.1 kB / 0.6046 GB, free: 10.44 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/0.544, allocations: 67.36 kB / 0.6047 GB, free: 10.38 MB / 478.1 MB Notification: Performance of SimCode: time 8.21e-07/0.544, allocations: 0 / 0.6047 GB, free: 10.38 MB / 478.1 MB Notification: Performance of Templates: time 0.02618/0.5702, allocations: 15.42 MB / 0.6197 GB, free: 10.98 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1)