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.001209/0.001209, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001304/0.001303, allocations: 198.5 kB / 16.14 MB, free: 6.762 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.72/1.72, allocations: 205.1 MB / 222 MB, free: 5.008 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.4513/0.4513, allocations: 37.97 MB / 307.3 MB, free: 9.945 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.00135/0.00135, allocations: 70.55 kB / 374.6 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1307, allocations: 56.46 MB / 431 MB, free: 7.066 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.4197/0.5505, allocations: 146 MB / 0.5635 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008564/0.5591, allocations: 5.746 MB / 0.5691 GB, free: 15.94 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001369/0.5606, allocations: 24.34 kB / 0.5691 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001233/0.5619, allocations: 283.8 kB / 0.5694 GB, free: 15.69 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002352/0.5642, allocations: 0.8134 MB / 0.5702 GB, free: 15.05 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002891/0.5671, allocations: 0.9274 MB / 0.5711 GB, free: 14.33 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002912/0.5701, allocations: 2.66 MB / 0.5737 GB, free: 11.67 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006803/0.5707, allocations: 400.3 kB / 0.5741 GB, free: 11.28 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00133/0.5721, allocations: 0.6732 MB / 0.5747 GB, free: 10.6 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001078/0.5732, allocations: 0.724 MB / 0.5754 GB, free: 9.875 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001093/0.5733, allocations: 36 kB / 0.5755 GB, free: 9.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001271/0.5746, allocations: 0.5302 MB / 0.576 GB, free: 9.309 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000264/0.5749, allocations: 235.3 kB / 0.5762 GB, free: 9.078 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004537/0.5753, allocations: 370.2 kB / 0.5766 GB, free: 8.715 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001317/0.5766, allocations: 1.102 MB / 0.5776 GB, free: 7.609 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.5767, allocations: 7.938 kB / 0.5777 GB, free: 7.602 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.5767, allocations: 4 kB / 0.5777 GB, free: 7.598 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.5767, allocations: 0 / 0.5777 GB, free: 7.598 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.002121/0.5788, allocations: 1.051 MB / 0.5787 GB, free: 6.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.5789, allocations: 15.97 kB / 0.5787 GB, free: 6.484 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004006/0.5793, allocations: 95.92 kB / 0.5788 GB, free: 6.395 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007609/0.58, allocations: 0.5131 MB / 0.5793 GB, free: 5.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.5802, allocations: 105 kB / 0.5794 GB, free: 5.727 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.415e-05/0.5803, allocations: 48.55 kB / 0.5794 GB, free: 5.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.5815, allocations: 0.8266 MB / 0.5802 GB, free: 4.785 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.5815, allocations: 0 / 0.5802 GB, free: 4.785 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.005e-05/0.5816, allocations: 27.98 kB / 0.5803 GB, free: 4.758 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.523e-05/0.5817, allocations: 40.92 kB / 0.5803 GB, free: 4.719 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/0.5827, allocations: 0.6479 MB / 0.5809 GB, free: 4.066 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.004517/0.5872, allocations: 3.967 MB / 0.5848 GB, free: 15.82 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007568/0.588, allocations: 424.3 kB / 0.5852 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003051/0.5883, allocations: 205.4 kB / 0.5854 GB, free: 15.19 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005477/0.5889, allocations: 0.7327 MB / 0.5861 GB, free: 14.29 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.5889, allocations: 38.89 kB / 0.5862 GB, free: 14.25 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 2.245e-06/0.5889, allocations: 0 / 0.5862 GB, free: 14.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=45): time 0.003315/0.5923, allocations: 1.542 MB / 0.5877 GB, free: 12.63 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.007e-05/0.5924, allocations: 136.5 kB / 0.5878 GB, free: 12.47 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006424/0.593, allocations: 0.5731 MB / 0.5884 GB, free: 11.89 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.553e-05/0.5931, allocations: 33.7 kB / 0.5884 GB, free: 11.85 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002282/0.5933, allocations: 351.1 kB / 0.5887 GB, free: 11.5 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.5934, allocations: 169.6 kB / 0.5889 GB, free: 11.33 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001874/0.5936, allocations: 134.6 kB / 0.589 GB, free: 11.2 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.5938, allocations: 378.8 kB / 0.5894 GB, free: 10.82 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003457/0.5941, allocations: 217.9 kB / 0.5896 GB, free: 10.6 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005523/0.5947, allocations: 0.5123 MB / 0.5901 GB, free: 9.953 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009244/0.5956, allocations: 0.7601 MB / 0.5908 GB, free: 9.066 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.5956, allocations: 3.938 kB / 0.5908 GB, free: 9.062 MB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001522/0.5972, allocations: 0.9135 MB / 0.5917 GB, free: 8.141 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.5972, allocations: 11.94 kB / 0.5917 GB, free: 8.129 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.5972, allocations: 8.547 kB / 0.5917 GB, free: 8.121 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001418/0.5986, allocations: 293.3 kB / 0.592 GB, free: 7.832 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003796/0.599, allocations: 123.8 kB / 0.5921 GB, free: 7.711 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00104/0.6001, allocations: 0.8818 MB / 0.593 GB, free: 6.805 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005072/0.6006, allocations: 51.89 kB / 0.5931 GB, free: 6.754 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.9e-05/0.6007, allocations: 32 kB / 0.5931 GB, free: 6.723 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.0003461/0.601, allocations: 255.6 kB / 0.5933 GB, free: 6.465 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.6011, allocations: 63.25 kB / 0.5934 GB, free: 6.402 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/0.6025, allocations: 0.7742 MB / 0.5941 GB, free: 5.598 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.6025, allocations: 8 kB / 0.5942 GB, free: 5.59 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.916e-06/0.6025, allocations: 4.938 kB / 0.5942 GB, free: 5.586 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.6025, allocations: 0 / 0.5942 GB, free: 5.586 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002046/0.6046, allocations: 1.42 MB / 0.5955 GB, free: 4.066 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/0.6046, allocations: 4 kB / 0.5955 GB, free: 4.062 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/0.6056, allocations: 195.8 kB / 0.5957 GB, free: 3.871 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.898e-05/0.6057, allocations: 24.84 kB / 0.5958 GB, free: 3.844 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.544e-05/0.6058, allocations: 17.67 kB / 0.5958 GB, free: 3.828 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002202/0.608, allocations: 2.685 MB / 0.5984 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.608, allocations: 4.031 kB / 0.5984 GB, free: 0.875 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001461/0.6095, allocations: 1.007 MB / 0.5994 GB, free: 15.81 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003375/0.6098, allocations: 208.2 kB / 0.5996 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.6099, allocations: 12 kB / 0.5996 GB, free: 15.58 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005231/0.6105, allocations: 31.91 kB / 0.5996 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.6106, allocations: 36.02 kB / 0.5997 GB, free: 15.51 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.428e-05/0.6107, allocations: 27.98 kB / 0.5997 GB, free: 15.48 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006075/0.6113, allocations: 427 kB / 0.6001 GB, free: 15.07 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6113, allocations: 0 / 0.6001 GB, free: 15.07 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009709/0.6123, allocations: 220 kB / 0.6003 GB, free: 14.86 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.0007376/0.613, allocations: 267.2 kB / 0.6006 GB, free: 14.59 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00143/0.6144, allocations: 0.6068 MB / 0.6012 GB, free: 13.99 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.6145, allocations: 0 / 0.6012 GB, free: 13.99 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001079/0.6155, allocations: 458.4 kB / 0.6016 GB, free: 13.53 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001734/0.6173, allocations: 352.1 kB / 0.6019 GB, free: 13.18 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002314/0.6196, allocations: 1.602 MB / 0.6035 GB, free: 11.54 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005307/0.6202, allocations: 0.9388 MB / 0.6044 GB, free: 10.57 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007651/0.6209, allocations: 211.5 kB / 0.6046 GB, free: 10.36 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.6211, allocations: 63.42 kB / 0.6047 GB, free: 10.3 MB / 478.1 MB Notification: Performance of SimCode: time 7.41e-07/0.6211, allocations: 0 / 0.6047 GB, free: 10.3 MB / 478.1 MB Notification: Performance of Templates: time 0.02486/0.646, allocations: 14.9 MB / 0.6192 GB, free: 11.44 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)