Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009809/0.00981, allocations: 165.6 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.711/1.711, allocations: 170.8 MB / 186.6 MB, free: 1.121 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001683/0.001682, allocations: 103.3 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4668/0.4668, allocations: 38.05 MB / 303.7 MB, free: 42.31 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004861/0.0004866, allocations: 12 kB / 362.9 MB, free: 5.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1589, allocations: 48.7 MB / 411.6 MB, free: 4.832 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.578/1.737, allocations: 449.7 MB / 0.8411 GB, free: 56.95 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/1.737, allocations: 77.61 kB / 0.8411 GB, free: 56.91 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05947/1.797, allocations: 29.88 MB / 0.8703 GB, free: 31.92 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.508e-06/1.797, allocations: 8 kB / 0.8703 GB, free: 31.91 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.647e-05/1.797, allocations: 0 / 0.8703 GB, free: 31.91 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005099/1.797, allocations: 396.7 kB / 0.8707 GB, free: 31.49 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/1.797, allocations: 8.031 kB / 0.8707 GB, free: 31.48 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001658/1.799, allocations: 180.8 kB / 0.8709 GB, free: 31.32 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/1.799, allocations: 204.7 kB / 0.8711 GB, free: 31.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/1.799, allocations: 7.625 kB / 0.8711 GB, free: 31.09 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.168e-05/1.799, allocations: 8.219 kB / 0.8711 GB, free: 31.09 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004876/1.8, allocations: 225.8 kB / 0.8713 GB, free: 30.9 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/1.8, allocations: 7.875 kB / 0.8713 GB, free: 30.89 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.552e-05/1.8, allocations: 3.875 kB / 0.8713 GB, free: 30.89 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/1.8, allocations: 4 kB / 0.8713 GB, free: 30.89 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004123/1.8, allocations: 164.2 kB / 0.8715 GB, free: 30.79 MB / 426.7 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.0009648/1.801, allocations: 0.5732 MB / 0.872 GB, free: 30.18 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003068/1.802, allocations: 134.5 kB / 0.8722 GB, free: 30.04 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/1.802, allocations: 4 kB / 0.8722 GB, free: 30.04 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/1.802, allocations: 47.02 kB / 0.8722 GB, free: 29.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 2.064e-06/1.802, allocations: 4 kB / 0.8722 GB, free: 29.98 MB / 426.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005296/1.807, allocations: 1.299 MB / 0.8735 GB, free: 28.58 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.589e-05/1.807, allocations: 55.39 kB / 0.8735 GB, free: 28.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/1.807, allocations: 109 kB / 0.8736 GB, free: 28.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.638e-05/1.807, allocations: 33.7 kB / 0.8737 GB, free: 28.36 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.719e-05/1.807, allocations: 88.03 kB / 0.8737 GB, free: 28.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.011e-05/1.807, allocations: 75 kB / 0.8738 GB, free: 28.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.762e-05/1.807, allocations: 4 kB / 0.8738 GB, free: 28.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/1.807, allocations: 322.8 kB / 0.8741 GB, free: 27.87 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/1.808, allocations: 67.95 kB / 0.8742 GB, free: 27.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/1.808, allocations: 105.6 kB / 0.8743 GB, free: 27.69 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000178/1.808, allocations: 84.92 kB / 0.8744 GB, free: 27.61 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/1.808, allocations: 0 / 0.8744 GB, free: 27.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000525/1.809, allocations: 259.4 kB / 0.8746 GB, free: 27.35 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.003e-05/1.809, allocations: 4 kB / 0.8746 GB, free: 27.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/1.809, allocations: 4 kB / 0.8746 GB, free: 27.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002307/1.809, allocations: 52.83 kB / 0.8747 GB, free: 27.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003306/1.809, allocations: 55.86 kB / 0.8747 GB, free: 27.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004905/1.81, allocations: 0.5681 MB / 0.8753 GB, free: 26.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002074/1.81, allocations: 11.97 kB / 0.8753 GB, free: 26.63 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.613e-05/1.81, allocations: 31.92 kB / 0.8753 GB, free: 26.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000161/1.81, allocations: 126.8 kB / 0.8755 GB, free: 26.46 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.78e-05/1.81, allocations: 19.86 kB / 0.8755 GB, free: 26.45 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008927/1.811, allocations: 335.1 kB / 0.8758 GB, free: 26.11 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.906e-06/1.811, allocations: 4 kB / 0.8758 GB, free: 26.11 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/1.811, allocations: 0 / 0.8758 GB, free: 26.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/1.811, allocations: 0 / 0.8758 GB, free: 26.11 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/1.812, allocations: 0.6175 MB / 0.8764 GB, free: 25.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/1.812, allocations: 0 / 0.8764 GB, free: 25.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003308/1.813, allocations: 67.98 kB / 0.8765 GB, free: 25.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.331e-05/1.813, allocations: 24.84 kB / 0.8765 GB, free: 25.33 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.754e-05/1.813, allocations: 15.98 kB / 0.8765 GB, free: 25.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008667/1.814, allocations: 1.268 MB / 0.8777 GB, free: 23.92 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.814, allocations: 4.031 kB / 0.8777 GB, free: 23.91 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007028/1.814, allocations: 468.2 kB / 0.8782 GB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.032e-05/1.814, allocations: 88.92 kB / 0.8783 GB, free: 23.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.904e-05/1.814, allocations: 4 kB / 0.8783 GB, free: 23.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002132/1.815, allocations: 11.98 kB / 0.8783 GB, free: 23.29 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.167e-05/1.815, allocations: 19.97 kB / 0.8783 GB, free: 23.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.881e-05/1.815, allocations: 36.02 kB / 0.8783 GB, free: 23.23 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.575e-05/1.815, allocations: 91.27 kB / 0.8784 GB, free: 23.14 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.815, allocations: 0 / 0.8784 GB, free: 23.14 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006138/1.815, allocations: 115.9 kB / 0.8785 GB, free: 23.03 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001041/1.816, allocations: 0.5331 MB / 0.8791 GB, free: 22.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005091/1.817, allocations: 201.3 kB / 0.8793 GB, free: 22.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/1.817, allocations: 7.875 kB / 0.8793 GB, free: 22.28 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003225/1.817, allocations: 225.3 kB / 0.8795 GB, free: 22.05 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/1.818, allocations: 39.95 kB / 0.8795 GB, free: 22.01 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008639/1.819, allocations: 0.5552 MB / 0.8801 GB, free: 21.42 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002044/1.819, allocations: 0.7127 MB / 0.8808 GB, free: 20.68 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004296/1.819, allocations: 77.39 kB / 0.8808 GB, free: 20.61 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001899/1.819, allocations: 55.41 kB / 0.8809 GB, free: 20.55 MB / 426.7 MB Notification: Performance of SimCode: time 5.21e-07/1.819, allocations: 0 / 0.8809 GB, free: 20.55 MB / 426.7 MB Notification: Performance of Templates: time 0.01545/1.835, allocations: 11.01 MB / 0.8916 GB, free: 9.559 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1)