Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.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) 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(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009859/0.009859, allocations: 164.6 kB / 15.11 MB, free: 6.039 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.519/1.519, allocations: 170.8 MB / 186.6 MB, free: 1.141 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.001674/0.001674, allocations: 107.3 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003375/0.0003375, allocations: 8 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2735, allocations: 38.77 MB / 312.9 MB, free: 38.69 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.12/1.393, allocations: 441.4 MB / 0.7366 GB, free: 100.5 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003627/1.394, allocations: 67.97 kB / 0.7367 GB, free: 100.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05851/1.452, allocations: 29.86 MB / 0.7658 GB, free: 70.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.635e-06/1.452, allocations: 0 / 0.7658 GB, free: 70.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.319e-05/1.452, allocations: 224 / 0.7658 GB, free: 70.43 MB / 362.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.0004548/1.453, allocations: 387.4 kB / 0.7662 GB, free: 70 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/1.453, allocations: 12.03 kB / 0.7662 GB, free: 69.99 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001579/1.455, allocations: 187.6 kB / 0.7664 GB, free: 69.81 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/1.455, allocations: 199 kB / 0.7666 GB, free: 69.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/1.455, allocations: 8 kB / 0.7666 GB, free: 69.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.418e-05/1.455, allocations: 4 kB / 0.7666 GB, free: 69.56 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004592/1.455, allocations: 224.5 kB / 0.7668 GB, free: 69.33 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/1.455, allocations: 0 / 0.7668 GB, free: 69.33 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.503e-05/1.455, allocations: 15.98 kB / 0.7668 GB, free: 69.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/1.455, allocations: 0 / 0.7668 GB, free: 69.31 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003933/1.456, allocations: 171.8 kB / 0.767 GB, free: 69.14 MB / 362.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.0008833/1.457, allocations: 0.5883 MB / 0.7676 GB, free: 68.51 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002891/1.457, allocations: 138.5 kB / 0.7677 GB, free: 68.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.047e-05/1.457, allocations: 7.938 kB / 0.7677 GB, free: 68.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/1.457, allocations: 30.56 kB / 0.7677 GB, free: 68.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.132e-06/1.457, allocations: 3.938 kB / 0.7677 GB, free: 68.31 MB / 362.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.004807/1.462, allocations: 1.305 MB / 0.769 GB, free: 66.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/1.462, allocations: 55.41 kB / 0.7691 GB, free: 66.85 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.363e-05/1.462, allocations: 112.8 kB / 0.7692 GB, free: 66.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/1.462, allocations: 29.7 kB / 0.7692 GB, free: 66.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.601e-05/1.462, allocations: 88.05 kB / 0.7693 GB, free: 66.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.012e-05/1.462, allocations: 74.98 kB / 0.7694 GB, free: 66.53 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.516e-05/1.462, allocations: 0 / 0.7694 GB, free: 66.53 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.118e-05/1.462, allocations: 322.8 kB / 0.7697 GB, free: 66.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/1.462, allocations: 67.97 kB / 0.7697 GB, free: 66.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/1.463, allocations: 103.6 kB / 0.7698 GB, free: 66.03 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/1.463, allocations: 80.92 kB / 0.7699 GB, free: 65.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/1.463, allocations: 7.875 kB / 0.7699 GB, free: 65.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004077/1.463, allocations: 259.9 kB / 0.7702 GB, free: 65.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/1.463, allocations: 8.094 kB / 0.7702 GB, free: 65.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/1.463, allocations: 4 kB / 0.7702 GB, free: 65.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001807/1.463, allocations: 48.83 kB / 0.7702 GB, free: 65.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003111/1.464, allocations: 63.89 kB / 0.7703 GB, free: 65.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002968/1.464, allocations: 0.5563 MB / 0.7708 GB, free: 64.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/1.464, allocations: 20.05 kB / 0.7708 GB, free: 64.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.826e-05/1.464, allocations: 24 kB / 0.7709 GB, free: 64.93 MB / 362.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.0001026/1.464, allocations: 121.8 kB / 0.771 GB, free: 64.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.272e-05/1.464, allocations: 11.89 kB / 0.771 GB, free: 64.79 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007296/1.465, allocations: 347.2 kB / 0.7713 GB, free: 64.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/1.465, allocations: 4 kB / 0.7713 GB, free: 64.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/1.465, allocations: 0 / 0.7713 GB, free: 64.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/1.465, allocations: 3.984 kB / 0.7713 GB, free: 64.44 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007704/1.466, allocations: 0.6152 MB / 0.7719 GB, free: 63.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/1.466, allocations: 0 / 0.7719 GB, free: 63.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003088/1.466, allocations: 63.95 kB / 0.772 GB, free: 63.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.093e-05/1.466, allocations: 20.78 kB / 0.772 GB, free: 63.67 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.477e-05/1.466, allocations: 12 kB / 0.772 GB, free: 63.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006109/1.467, allocations: 1.276 MB / 0.7733 GB, free: 62.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/1.467, allocations: 4.188 kB / 0.7733 GB, free: 62.24 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005678/1.468, allocations: 463.8 kB / 0.7737 GB, free: 61.74 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.917e-05/1.468, allocations: 97 kB / 0.7738 GB, free: 61.63 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.958e-05/1.468, allocations: 8 kB / 0.7738 GB, free: 61.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/1.468, allocations: 8 kB / 0.7738 GB, free: 61.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/1.468, allocations: 23.91 kB / 0.7738 GB, free: 61.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.821e-05/1.468, allocations: 27.98 kB / 0.7739 GB, free: 61.56 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.799e-05/1.468, allocations: 91.27 kB / 0.774 GB, free: 61.47 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.468, allocations: 0 / 0.774 GB, free: 61.47 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005902/1.469, allocations: 111.9 kB / 0.7741 GB, free: 61.36 MB / 362.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.0008571/1.469, allocations: 0.5365 MB / 0.7746 GB, free: 60.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005115/1.47, allocations: 209.8 kB / 0.7748 GB, free: 60.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/1.47, allocations: 0 / 0.7748 GB, free: 60.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003403/1.47, allocations: 214.6 kB / 0.775 GB, free: 60.39 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003904/1.471, allocations: 48.89 kB / 0.775 GB, free: 60.35 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008938/1.472, allocations: 0.5613 MB / 0.7756 GB, free: 59.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/1.472, allocations: 0.7053 MB / 0.7763 GB, free: 59.02 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004118/1.472, allocations: 85.59 kB / 0.7764 GB, free: 58.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001882/1.472, allocations: 55.41 kB / 0.7764 GB, free: 58.88 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/1.472, allocations: 0 / 0.7764 GB, free: 58.88 MB / 362.7 MB Notification: Performance of Templates: time 0.01353/1.486, allocations: 11.03 MB / 0.7872 GB, free: 47.85 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.sim & ./Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1)