Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.IdealGases.Air,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1_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.006015/0.006016, allocations: 103.6 kB / 15.73 MB, free: 6.008 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.001601/0.0016, allocations: 197.4 kB / 16.68 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.488/1.488, allocations: 205.1 MB / 222.5 MB, free: 4.488 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.298/0.298, allocations: 37.99 MB / 307.9 MB, free: 10.12 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.001331/0.001331, allocations: 79.89 kB / 433 MB, free: 5.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2853, allocations: 56.45 MB / 489.5 MB, free: 20.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.5603/0.8456, allocations: 179.7 MB / 0.6535 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01161/0.8573, allocations: 8.186 MB / 0.6615 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00106/0.8584, allocations: 17.66 kB / 0.6615 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009966/0.8594, allocations: 315.3 kB / 0.6618 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005076/0.8645, allocations: 1.487 MB / 0.6633 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004189/0.8687, allocations: 1.148 MB / 0.6644 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004112/0.8728, allocations: 1.844 MB / 0.6662 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001178/0.874, allocations: 459.9 kB / 0.6666 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003948/0.878, allocations: 1.242 MB / 0.6678 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001428/0.8794, allocations: 0.6591 MB / 0.6685 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001722/0.8796, allocations: 60.06 kB / 0.6685 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002702/0.8823, allocations: 0.8291 MB / 0.6694 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003636/0.8827, allocations: 265.8 kB / 0.6696 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006575/0.8834, allocations: 394.4 kB / 0.67 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002688/0.8861, allocations: 1.426 MB / 0.6714 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.8861, allocations: 0.9375 kB / 0.6714 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.073e-06/0.8861, allocations: 1.469 kB / 0.6714 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.884e-05/0.8861, allocations: 0.9844 kB / 0.6714 GB, free: 1.234 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.002498/0.8886, allocations: 1.125 MB / 0.6725 GB, free: 16.61 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.8887, allocations: 14.3 kB / 0.6725 GB, free: 16.61 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008404/0.8896, allocations: 135 kB / 0.6726 GB, free: 16.57 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.8906, allocations: 0.5348 MB / 0.6731 GB, free: 16.31 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001384/0.8908, allocations: 102.2 kB / 0.6732 GB, free: 16.24 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.8909, allocations: 57.8 kB / 0.6733 GB, free: 16.24 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/0.8924, allocations: 0.8086 MB / 0.6741 GB, free: 16.02 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.842e-05/0.8925, allocations: 4.75 kB / 0.6741 GB, free: 16.02 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.212e-05/0.8926, allocations: 25.31 kB / 0.6741 GB, free: 16.02 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.415e-05/0.8926, allocations: 36.41 kB / 0.6741 GB, free: 16.02 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.8938, allocations: 0.6225 MB / 0.6748 GB, free: 16.01 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.004779/0.8985, allocations: 3.976 MB / 0.6786 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000616/0.8992, allocations: 358.1 kB / 0.679 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002864/0.8995, allocations: 175.6 kB / 0.6791 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005076/0.9, allocations: 361.2 kB / 0.6795 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.456e-05/0.9001, allocations: 39.06 kB / 0.6795 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=34): time 3.146e-06/0.9001, allocations: 0.5938 kB / 0.6795 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of matching and sorting (n=39): time 0.00715/0.9072, allocations: 1.674 MB / 0.6812 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001333/0.9074, allocations: 133.7 kB / 0.6813 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.9085, allocations: 0.6174 MB / 0.6819 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.05e-05/0.9086, allocations: 32.61 kB / 0.6819 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00031/0.9089, allocations: 363.8 kB / 0.6823 GB, free: 12 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.9091, allocations: 143.6 kB / 0.6824 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000235/0.9093, allocations: 157.2 kB / 0.6826 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.9095, allocations: 379.5 kB / 0.6829 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003162/0.9098, allocations: 202.5 kB / 0.6831 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005786/0.9104, allocations: 0.5156 MB / 0.6836 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009245/0.9113, allocations: 0.7479 MB / 0.6843 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.9114, allocations: 3.25 kB / 0.6843 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001329/0.9127, allocations: 0.8794 MB / 0.6852 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.9127, allocations: 10.72 kB / 0.6852 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.9127, allocations: 13.22 kB / 0.6852 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001338/0.9141, allocations: 312.1 kB / 0.6855 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004056/0.9145, allocations: 120.6 kB / 0.6856 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001047/0.9156, allocations: 0.9312 MB / 0.6866 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005924/0.9162, allocations: 26.22 kB / 0.6866 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.742e-05/0.9163, allocations: 65.59 kB / 0.6866 GB, free: 10.2 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.0003962/0.9167, allocations: 248.2 kB / 0.6869 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.9168, allocations: 69.47 kB / 0.6869 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0014/0.9182, allocations: 0.6752 MB / 0.6876 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.361e-06/0.9182, allocations: 2.25 kB / 0.6876 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.9183, allocations: 5.375 kB / 0.6876 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.9183, allocations: 1.5 kB / 0.6876 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002822/0.9211, allocations: 1.615 MB / 0.6892 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.9211, allocations: 2.422 kB / 0.6892 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001285/0.9224, allocations: 209.1 kB / 0.6894 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001228/0.9226, allocations: 23.66 kB / 0.6894 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.016e-05/0.9226, allocations: 24.58 kB / 0.6894 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002088/0.9247, allocations: 2.879 MB / 0.6922 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.9247, allocations: 0 / 0.6922 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.9259, allocations: 0.8053 MB / 0.693 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003976/0.9264, allocations: 195.3 kB / 0.6932 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.296e-05/0.9265, allocations: 16.47 kB / 0.6932 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003743/0.9268, allocations: 17.64 kB / 0.6933 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.366e-05/0.9269, allocations: 38.58 kB / 0.6933 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.85e-05/0.927, allocations: 47.14 kB / 0.6933 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006546/0.9277, allocations: 440.2 kB / 0.6938 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9277, allocations: 0 / 0.6938 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001444/0.9291, allocations: 289.7 kB / 0.694 GB, free: 5.992 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.0009691/0.9301, allocations: 378.8 kB / 0.6944 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001135/0.9313, allocations: 0.5441 MB / 0.6949 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.9313, allocations: 3.094 kB / 0.6949 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009203/0.9322, allocations: 422.4 kB / 0.6953 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001691/0.9339, allocations: 369.3 kB / 0.6957 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00231/0.9362, allocations: 1.31 MB / 0.697 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000532/0.9368, allocations: 0.9348 MB / 0.6979 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00079/0.9376, allocations: 260.8 kB / 0.6981 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002494/0.9378, allocations: 98 kB / 0.6982 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of SimCode: time 4.21e-07/0.9379, allocations: 1.203 kB / 0.6982 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of Templates: time 0.03221/0.9701, allocations: 18.71 MB / 0.7165 GB, free: 8.383 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1)