Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.IdealGases.Air,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008775/0.008775, allocations: 102 kB / 15.73 MB, free: 6.051 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.001841/0.001841, allocations: 195 kB / 16.68 MB, free: 5.969 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.68/1.68, allocations: 205.1 MB / 222.6 MB, free: 4.375 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.3598/0.3598, allocations: 39.95 MB / 309.8 MB, free: 9.633 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.001411/0.001411, allocations: 75.89 kB / 435.8 MB, free: 2.422 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3595, allocations: 56.87 MB / 492.7 MB, free: 19.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.5622/0.9217, allocations: 179.7 MB / 0.6566 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009594/0.9314, allocations: 8.187 MB / 0.6646 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000571/0.932, allocations: 21.44 kB / 0.6646 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008164/0.9328, allocations: 314.7 kB / 0.6649 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003548/0.9364, allocations: 1.479 MB / 0.6664 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002841/0.9392, allocations: 1.155 MB / 0.6675 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00234/0.9416, allocations: 1.847 MB / 0.6693 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000655/0.9423, allocations: 458.9 kB / 0.6698 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002799/0.9451, allocations: 1.236 MB / 0.671 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001066/0.9461, allocations: 0.6529 MB / 0.6716 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001458/0.9463, allocations: 62.06 kB / 0.6717 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001984/0.9483, allocations: 0.8297 MB / 0.6725 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002795/0.9486, allocations: 266.2 kB / 0.6727 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005212/0.9491, allocations: 397 kB / 0.6731 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001916/0.951, allocations: 1.418 MB / 0.6745 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.9511, allocations: 3.562 kB / 0.6745 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.312e-06/0.9511, allocations: 1.031 kB / 0.6745 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.9511, allocations: 1.062 kB / 0.6745 GB, free: 1.18 MB / 0.4981 GB 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.002219/0.9533, allocations: 1.126 MB / 0.6756 GB, free: 16.56 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.9534, allocations: 14.61 kB / 0.6756 GB, free: 16.55 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000808/0.9542, allocations: 139 kB / 0.6757 GB, free: 16.51 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008928/0.9551, allocations: 0.5366 MB / 0.6763 GB, free: 16.24 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.9552, allocations: 101.7 kB / 0.6764 GB, free: 16.18 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.616e-05/0.9553, allocations: 53.59 kB / 0.6764 GB, free: 16.18 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/0.9565, allocations: 0.8113 MB / 0.6772 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.9565, allocations: 1.469 kB / 0.6772 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.22e-05/0.9566, allocations: 28.17 kB / 0.6772 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.453e-05/0.9567, allocations: 43.11 kB / 0.6773 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.9577, allocations: 0.6139 MB / 0.6779 GB, free: 15.96 MB / 0.5137 GB 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.004083/0.9618, allocations: 3.972 MB / 0.6818 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004701/0.9623, allocations: 364.5 kB / 0.6821 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002248/0.9625, allocations: 173.7 kB / 0.6823 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003926/0.9629, allocations: 361.3 kB / 0.6826 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.9629, allocations: 43.28 kB / 0.6827 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=34): time 1.743e-06/0.963, allocations: 0 / 0.6827 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of matching and sorting (n=39): time 0.005033/0.968, allocations: 1.669 MB / 0.6843 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.107e-05/0.9681, allocations: 138.4 kB / 0.6844 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005969/0.9687, allocations: 0.6111 MB / 0.685 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.328e-05/0.9687, allocations: 36.23 kB / 0.685 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003002/0.969, allocations: 363.3 kB / 0.6854 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.9691, allocations: 146.6 kB / 0.6855 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002018/0.9694, allocations: 158.1 kB / 0.6857 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.9695, allocations: 378.9 kB / 0.686 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003291/0.9699, allocations: 203 kB / 0.6862 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005097/0.9704, allocations: 0.5148 MB / 0.6867 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008376/0.9712, allocations: 0.7507 MB / 0.6875 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.9712, allocations: 5.062 kB / 0.6875 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001231/0.9725, allocations: 0.8741 MB / 0.6883 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.9725, allocations: 12.64 kB / 0.6883 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.9725, allocations: 7.938 kB / 0.6884 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001234/0.9738, allocations: 317.2 kB / 0.6887 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003402/0.9741, allocations: 126.3 kB / 0.6888 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001035/0.9752, allocations: 0.9293 MB / 0.6897 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004938/0.9757, allocations: 29.81 kB / 0.6897 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.936e-05/0.9757, allocations: 68.31 kB / 0.6898 GB, free: 10.15 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (67): * Single equations (assignments): 66 * 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,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003106/0.9761, allocations: 245.7 kB / 0.69 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.9762, allocations: 69.47 kB / 0.6901 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001273/0.9775, allocations: 0.6729 MB / 0.6907 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.9775, allocations: 7.391 kB / 0.6907 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.9775, allocations: 0 / 0.6907 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.9775, allocations: 1.5 kB / 0.6907 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002381/0.9799, allocations: 1.61 MB / 0.6923 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.9799, allocations: 1.094 kB / 0.6923 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009829/0.9809, allocations: 206.9 kB / 0.6925 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.238e-05/0.981, allocations: 25.36 kB / 0.6925 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.254e-05/0.9811, allocations: 25.3 kB / 0.6926 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002269/0.9833, allocations: 2.886 MB / 0.6954 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.9834, allocations: 1.812 kB / 0.6954 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.9844, allocations: 0.8065 MB / 0.6962 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003253/0.9848, allocations: 195 kB / 0.6964 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.9849, allocations: 15.97 kB / 0.6964 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003577/0.9853, allocations: 17.22 kB / 0.6964 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.9854, allocations: 38.97 kB / 0.6964 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.584e-05/0.9855, allocations: 44.84 kB / 0.6965 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005672/0.986, allocations: 443.1 kB / 0.6969 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.986, allocations: 0.875 kB / 0.6969 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001316/0.9874, allocations: 289 kB / 0.6972 GB, free: 5.93 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0009727/0.9883, allocations: 370.4 kB / 0.6975 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001076/0.9894, allocations: 0.5398 MB / 0.698 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.9894, allocations: 4.453 kB / 0.6981 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008847/0.9903, allocations: 421.5 kB / 0.6985 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/0.9919, allocations: 368.2 kB / 0.6988 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002019/0.994, allocations: 1.315 MB / 0.7001 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004614/0.9944, allocations: 0.9301 MB / 0.701 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007135/0.9952, allocations: 257.4 kB / 0.7012 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002384/0.9954, allocations: 102.1 kB / 0.7013 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of SimCode: time 6.51e-07/0.9954, allocations: 0 / 0.7013 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of Templates: time 0.0279/1.023, allocations: 18.71 MB / 0.7196 GB, free: 7.242 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1)