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.01195/0.01195, allocations: 97.88 kB / 15.73 MB, free: 6.004 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.002236/0.002236, allocations: 192.4 kB / 16.67 MB, free: 5.934 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.581/1.581, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.3338/0.3338, allocations: 39.95 MB / 309.8 MB, free: 9.414 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.001753/0.001754, allocations: 71.89 kB / 435.8 MB, free: 2.445 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2939, allocations: 56.86 MB / 492.7 MB, free: 19.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.4762/0.7701, allocations: 179.7 MB / 0.6566 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009153/0.7793, allocations: 8.186 MB / 0.6646 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006736/0.78, allocations: 22.66 kB / 0.6646 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008834/0.781, allocations: 318.1 kB / 0.665 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004256/0.7852, allocations: 1.47 MB / 0.6664 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003286/0.7885, allocations: 1.159 MB / 0.6675 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002854/0.7914, allocations: 1.846 MB / 0.6693 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008258/0.7922, allocations: 459.3 kB / 0.6698 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00339/0.7957, allocations: 1.236 MB / 0.671 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009966/0.7967, allocations: 0.6528 MB / 0.6716 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001498/0.7968, allocations: 61.56 kB / 0.6717 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002257/0.7991, allocations: 0.832 MB / 0.6725 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003033/0.7994, allocations: 265.2 kB / 0.6727 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005006/0.7999, allocations: 399 kB / 0.6731 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002196/0.8021, allocations: 1.423 MB / 0.6745 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.8021, allocations: 4.281 kB / 0.6745 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.943e-06/0.8021, allocations: 0 / 0.6745 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.722e-05/0.8022, allocations: 0.875 kB / 0.6745 GB, free: 1.152 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.002452/0.8046, allocations: 1.148 MB / 0.6756 GB, free: 16.51 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.8047, allocations: 13.55 kB / 0.6756 GB, free: 16.5 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008492/0.8055, allocations: 143 kB / 0.6758 GB, free: 16.46 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008593/0.8064, allocations: 0.5388 MB / 0.6763 GB, free: 16.2 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001428/0.8065, allocations: 101.8 kB / 0.6764 GB, free: 16.13 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.8067, allocations: 56.02 kB / 0.6765 GB, free: 16.12 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.8079, allocations: 0.8127 MB / 0.6772 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.808, allocations: 2.469 kB / 0.6772 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.814e-05/0.808, allocations: 24.83 kB / 0.6773 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.521e-05/0.8081, allocations: 41.8 kB / 0.6773 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.8092, allocations: 0.6167 MB / 0.6779 GB, free: 15.91 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.004412/0.8136, allocations: 3.977 MB / 0.6818 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005416/0.8142, allocations: 365.6 kB / 0.6821 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002572/0.8144, allocations: 171.2 kB / 0.6823 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004512/0.8149, allocations: 368.2 kB / 0.6827 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.8149, allocations: 38.28 kB / 0.6827 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=34): time 3.095e-06/0.8149, allocations: 1.062 kB / 0.6827 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of matching and sorting (n=39): time 0.005461/0.8204, allocations: 1.672 MB / 0.6843 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.515e-05/0.8205, allocations: 135.7 kB / 0.6845 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007621/0.8213, allocations: 0.6173 MB / 0.6851 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.307e-05/0.8214, allocations: 35.05 kB / 0.6851 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002964/0.8217, allocations: 373.3 kB / 0.6855 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000143/0.8218, allocations: 148.7 kB / 0.6856 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002458/0.8221, allocations: 159.9 kB / 0.6857 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.8223, allocations: 377.1 kB / 0.6861 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003454/0.8226, allocations: 203.6 kB / 0.6863 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005941/0.8232, allocations: 0.5148 MB / 0.6868 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009453/0.8242, allocations: 0.7488 MB / 0.6875 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.8242, allocations: 4.156 kB / 0.6875 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001295/0.8255, allocations: 0.8807 MB / 0.6884 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.8255, allocations: 10.17 kB / 0.6884 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.8255, allocations: 11.44 kB / 0.6884 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001321/0.8269, allocations: 318 kB / 0.6887 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003762/0.8272, allocations: 124.7 kB / 0.6888 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001042/0.8283, allocations: 0.9331 MB / 0.6898 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005173/0.8288, allocations: 25.64 kB / 0.6898 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-05/0.8289, allocations: 70.16 kB / 0.6898 GB, free: 10.07 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.0003329/0.8293, allocations: 239.5 kB / 0.6901 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.8294, allocations: 78.34 kB / 0.6901 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001286/0.8307, allocations: 0.6698 MB / 0.6908 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.8307, allocations: 5.656 kB / 0.6908 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.8307, allocations: 0 / 0.6908 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.8307, allocations: 5.141 kB / 0.6908 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002148/0.8329, allocations: 1.613 MB / 0.6924 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.8329, allocations: 0 / 0.6924 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00098/0.8339, allocations: 208.2 kB / 0.6926 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.843e-05/0.834, allocations: 28.67 kB / 0.6926 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.602e-05/0.8341, allocations: 28.52 kB / 0.6926 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002023/0.8361, allocations: 2.875 MB / 0.6954 GB, free: 6.312 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.8361, allocations: 2.125 kB / 0.6954 GB, free: 6.312 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.8373, allocations: 0.8172 MB / 0.6962 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003256/0.8376, allocations: 191.1 kB / 0.6964 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.786e-05/0.8377, allocations: 9.938 kB / 0.6964 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004102/0.8381, allocations: 24.36 kB / 0.6965 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.8382, allocations: 34.02 kB / 0.6965 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.495e-05/0.8383, allocations: 42.62 kB / 0.6965 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000493/0.8388, allocations: 443.8 kB / 0.697 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8388, allocations: 0 / 0.697 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001053/0.8399, allocations: 296.4 kB / 0.6972 GB, free: 5.844 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.0008823/0.8408, allocations: 377.9 kB / 0.6976 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001042/0.8418, allocations: 0.5441 MB / 0.6981 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.8418, allocations: 0.7812 kB / 0.6981 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009278/0.8428, allocations: 428.5 kB / 0.6985 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001619/0.8444, allocations: 369.4 kB / 0.6989 GB, free: 5.531 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002057/0.8465, allocations: 1.316 MB / 0.7002 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004533/0.8469, allocations: 0.9261 MB / 0.7011 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007838/0.8477, allocations: 262.3 kB / 0.7013 GB, free: 4.176 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002513/0.848, allocations: 102.5 kB / 0.7014 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of SimCode: time 6.01e-07/0.848, allocations: 3.094 kB / 0.7014 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of Templates: time 0.02822/0.8762, allocations: 18.5 MB / 0.7195 GB, free: 7.355 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)