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.00927/0.00927, allocations: 98.91 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.001847/0.001848, allocations: 196.2 kB / 16.68 MB, free: 5.93 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.472/1.472, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.3037/0.3037, allocations: 38 MB / 307.9 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.001607/0.001607, allocations: 67.91 kB / 433 MB, free: 5.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2842, allocations: 56.46 MB / 489.5 MB, free: 20.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.5252/0.8094, allocations: 179.7 MB / 0.6535 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009758/0.8192, allocations: 8.185 MB / 0.6615 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006579/0.8199, allocations: 19.25 kB / 0.6615 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008974/0.8209, allocations: 317.4 kB / 0.6618 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004228/0.8251, allocations: 1.504 MB / 0.6633 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003078/0.8282, allocations: 1.147 MB / 0.6644 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0029/0.8311, allocations: 1.847 MB / 0.6662 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008171/0.8319, allocations: 458.3 kB / 0.6666 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003419/0.8354, allocations: 1.254 MB / 0.6679 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001284/0.8367, allocations: 0.6583 MB / 0.6685 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001555/0.8368, allocations: 60.81 kB / 0.6686 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002753/0.8396, allocations: 0.8258 MB / 0.6694 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003968/0.84, allocations: 262.6 kB / 0.6696 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000636/0.8407, allocations: 401.5 kB / 0.67 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002554/0.8432, allocations: 1.418 MB / 0.6714 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.8433, allocations: 2.031 kB / 0.6714 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.926e-06/0.8433, allocations: 0.5312 kB / 0.6714 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.716e-05/0.8433, allocations: 0 / 0.6714 GB, free: 1.281 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.003332/0.8466, allocations: 1.131 MB / 0.6725 GB, free: 16.66 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.8467, allocations: 14.05 kB / 0.6725 GB, free: 16.66 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008907/0.8476, allocations: 135.2 kB / 0.6726 GB, free: 16.62 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009053/0.8485, allocations: 0.5341 MB / 0.6732 GB, free: 16.36 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001334/0.8486, allocations: 104.1 kB / 0.6733 GB, free: 16.29 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.8488, allocations: 51.62 kB / 0.6733 GB, free: 16.29 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001341/0.8501, allocations: 0.8123 MB / 0.6741 GB, free: 16.06 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.8501, allocations: 4.438 kB / 0.6741 GB, free: 16.06 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.781e-05/0.8502, allocations: 26.73 kB / 0.6741 GB, free: 16.06 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.298e-05/0.8503, allocations: 40.09 kB / 0.6742 GB, free: 16.06 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/0.8514, allocations: 0.6188 MB / 0.6748 GB, free: 16.05 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.004818/0.8563, allocations: 3.976 MB / 0.6787 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005896/0.8569, allocations: 355.3 kB / 0.679 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002839/0.8572, allocations: 181.8 kB / 0.6792 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004597/0.8576, allocations: 359.3 kB / 0.6795 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.8577, allocations: 40.56 kB / 0.6796 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=34): time 1.693e-06/0.8577, allocations: 4.844 kB / 0.6796 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of matching and sorting (n=39): time 0.005542/0.8632, allocations: 1.662 MB / 0.6812 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.163e-05/0.8633, allocations: 136.3 kB / 0.6813 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006961/0.864, allocations: 0.6177 MB / 0.6819 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.669e-05/0.8641, allocations: 35.61 kB / 0.682 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002115/0.8643, allocations: 366.2 kB / 0.6823 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.8644, allocations: 139 kB / 0.6824 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001999/0.8646, allocations: 153.4 kB / 0.6826 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.8648, allocations: 380.2 kB / 0.6829 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003191/0.8651, allocations: 203.9 kB / 0.6831 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005245/0.8656, allocations: 0.5153 MB / 0.6836 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008954/0.8665, allocations: 0.7476 MB / 0.6844 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.8665, allocations: 4.094 kB / 0.6844 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001301/0.8678, allocations: 0.8816 MB / 0.6852 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.8679, allocations: 6.688 kB / 0.6852 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.8679, allocations: 12.7 kB / 0.6853 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001281/0.8692, allocations: 316.6 kB / 0.6856 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003683/0.8696, allocations: 122.4 kB / 0.6857 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00101/0.8706, allocations: 0.9308 MB / 0.6866 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004943/0.8711, allocations: 25.45 kB / 0.6866 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.367e-05/0.8712, allocations: 69.44 kB / 0.6867 GB, free: 10.25 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.0003261/0.8715, allocations: 247.9 kB / 0.6869 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.8717, allocations: 71.03 kB / 0.687 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/0.873, allocations: 0.6787 MB / 0.6876 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-06/0.873, allocations: 6.031 kB / 0.6876 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.873, allocations: 0.625 kB / 0.6876 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.873, allocations: 2.078 kB / 0.6876 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002047/0.875, allocations: 1.612 MB / 0.6892 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.8751, allocations: 2.438 kB / 0.6892 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009774/0.876, allocations: 206 kB / 0.6894 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.157e-05/0.8761, allocations: 28.16 kB / 0.6894 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-05/0.8762, allocations: 27.19 kB / 0.6895 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002226/0.8784, allocations: 2.869 MB / 0.6923 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.8784, allocations: 3.5 kB / 0.6923 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.8796, allocations: 0.8048 MB / 0.6931 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002916/0.8799, allocations: 197.8 kB / 0.6933 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.88, allocations: 15.34 kB / 0.6933 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004023/0.8804, allocations: 18.62 kB / 0.6933 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.8806, allocations: 46.22 kB / 0.6933 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.256e-05/0.8806, allocations: 44.06 kB / 0.6934 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005781/0.8812, allocations: 440.8 kB / 0.6938 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8812, allocations: 0 / 0.6938 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001145/0.8824, allocations: 289.9 kB / 0.6941 GB, free: 6.031 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.001166/0.8836, allocations: 373.6 kB / 0.6944 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001093/0.8847, allocations: 0.5452 MB / 0.695 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/0.8847, allocations: 1 kB / 0.695 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009738/0.8857, allocations: 421.3 kB / 0.6954 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001571/0.8873, allocations: 375 kB / 0.6957 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/0.8896, allocations: 1.302 MB / 0.697 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005488/0.8902, allocations: 0.9354 MB / 0.6979 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008709/0.8911, allocations: 260.5 kB / 0.6982 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002892/0.8914, allocations: 100.4 kB / 0.6982 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of SimCode: time 3.81e-07/0.8914, allocations: 0 / 0.6982 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of Templates: time 0.03127/0.9227, allocations: 18.5 MB / 0.7163 GB, free: 8.625 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)