Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001523/0.001523, allocations: 182.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.716/1.716, allocations: 194.3 MB / 208.4 MB, free: 6.703 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001823/0.001822, allocations: 116.7 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.23e-05/3.233e-05, allocations: 4 kB / 304.9 MB, free: 29.78 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09899/0.09904, allocations: 44.5 MB / 349.4 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.129/1.228, allocations: 447 MB / 0.7778 GB, free: 84.46 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/1.229, allocations: 69.47 kB / 0.7779 GB, free: 84.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05948/1.288, allocations: 29.77 MB / 0.807 GB, free: 59.49 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.004e-06/1.288, allocations: 8 kB / 0.807 GB, free: 59.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.394e-05/1.288, allocations: 0 / 0.807 GB, free: 59.48 MB / 410.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.0003745/1.288, allocations: 382.8 kB / 0.8073 GB, free: 59.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/1.289, allocations: 8.031 kB / 0.8073 GB, free: 59.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001592/1.29, allocations: 177.8 kB / 0.8075 GB, free: 58.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/1.29, allocations: 204.1 kB / 0.8077 GB, free: 58.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/1.29, allocations: 7.562 kB / 0.8077 GB, free: 58.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.016e-05/1.291, allocations: 15.5 kB / 0.8077 GB, free: 58.67 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004037/1.291, allocations: 210.4 kB / 0.8079 GB, free: 58.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/1.291, allocations: 0 / 0.8079 GB, free: 58.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.453e-05/1.291, allocations: 0 / 0.8079 GB, free: 58.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/1.291, allocations: 4 kB / 0.8079 GB, free: 58.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002939/1.291, allocations: 152.6 kB / 0.8081 GB, free: 58.4 MB / 410.7 MB Warning: The model contains alias variables with conflicting start and/or 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.0009918/1.292, allocations: 0.5904 MB / 0.8087 GB, free: 57.81 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002551/1.293, allocations: 141 kB / 0.8088 GB, free: 57.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/1.293, allocations: 55.8 kB / 0.8088 GB, free: 57.67 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.916e-05/1.293, allocations: 11.86 kB / 0.8089 GB, free: 57.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/1.293, allocations: 34.56 kB / 0.8089 GB, free: 57.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/1.293, allocations: 0 / 0.8089 GB, free: 57.62 MB / 410.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.004354/1.297, allocations: 1.094 MB / 0.81 GB, free: 56.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/1.297, allocations: 51.41 kB / 0.81 GB, free: 56.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.32e-05/1.297, allocations: 104.5 kB / 0.8101 GB, free: 56.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/1.297, allocations: 29.2 kB / 0.8101 GB, free: 56.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.619e-05/1.297, allocations: 98.83 kB / 0.8102 GB, free: 56.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.294e-05/1.297, allocations: 70.56 kB / 0.8103 GB, free: 56.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.478e-05/1.297, allocations: 3.938 kB / 0.8103 GB, free: 56.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.286e-05/1.297, allocations: 322.6 kB / 0.8106 GB, free: 55.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/1.298, allocations: 60.38 kB / 0.8107 GB, free: 55.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/1.298, allocations: 100.5 kB / 0.8108 GB, free: 55.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/1.298, allocations: 81.27 kB / 0.8108 GB, free: 55.74 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/1.298, allocations: 3.938 kB / 0.8108 GB, free: 55.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003536/1.298, allocations: 248.9 kB / 0.8111 GB, free: 55.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/1.298, allocations: 10.5 kB / 0.8111 GB, free: 55.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/1.298, allocations: 3.953 kB / 0.8111 GB, free: 55.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002117/1.298, allocations: 48.33 kB / 0.8111 GB, free: 55.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002911/1.299, allocations: 55.72 kB / 0.8112 GB, free: 55.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003215/1.299, allocations: 0.5667 MB / 0.8117 GB, free: 54.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/1.299, allocations: 7.688 kB / 0.8117 GB, free: 54.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.247e-05/1.299, allocations: 31.55 kB / 0.8118 GB, free: 54.82 MB / 410.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 () * 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 8.592e-05/1.299, allocations: 116.4 kB / 0.8119 GB, free: 54.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.97e-05/1.299, allocations: 12 kB / 0.8119 GB, free: 54.69 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007164/1.3, allocations: 343.8 kB / 0.8122 GB, free: 54.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/1.3, allocations: 0 / 0.8122 GB, free: 54.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/1.3, allocations: 0 / 0.8122 GB, free: 54.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/1.3, allocations: 4 kB / 0.8122 GB, free: 54.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007858/1.301, allocations: 0.5979 MB / 0.8128 GB, free: 53.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/1.301, allocations: 4 kB / 0.8128 GB, free: 53.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003041/1.301, allocations: 67.61 kB / 0.8129 GB, free: 53.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.669e-05/1.301, allocations: 20.28 kB / 0.8129 GB, free: 53.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.619e-05/1.301, allocations: 11.56 kB / 0.8129 GB, free: 53.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006901/1.302, allocations: 1.277 MB / 0.8142 GB, free: 52.37 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.302, allocations: 0 / 0.8142 GB, free: 52.37 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005194/1.303, allocations: 453.9 kB / 0.8146 GB, free: 51.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.509e-05/1.303, allocations: 85.05 kB / 0.8147 GB, free: 51.85 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/1.303, allocations: 7.375 kB / 0.8147 GB, free: 51.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001939/1.303, allocations: 7.938 kB / 0.8147 GB, free: 51.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/1.303, allocations: 23.92 kB / 0.8147 GB, free: 51.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.582e-05/1.303, allocations: 31.3 kB / 0.8147 GB, free: 51.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.693e-05/1.303, allocations: 86.66 kB / 0.8148 GB, free: 51.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.303, allocations: 0 / 0.8148 GB, free: 51.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005864/1.304, allocations: 116.1 kB / 0.8149 GB, free: 51.62 MB / 410.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 () * 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.0007782/1.304, allocations: 0.5358 MB / 0.8155 GB, free: 51.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003743/1.305, allocations: 185.7 kB / 0.8156 GB, free: 50.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/1.305, allocations: 192 / 0.8156 GB, free: 50.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000253/1.305, allocations: 231.3 kB / 0.8159 GB, free: 50.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/1.306, allocations: 48.92 kB / 0.8159 GB, free: 50.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005035/1.306, allocations: 326.3 kB / 0.8162 GB, free: 50.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001647/1.306, allocations: 0.7088 MB / 0.8169 GB, free: 49.65 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004256/1.307, allocations: 73.17 kB / 0.817 GB, free: 49.58 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001803/1.307, allocations: 47.41 kB / 0.817 GB, free: 49.53 MB / 410.7 MB Notification: Performance of SimCode: time 9.52e-07/1.307, allocations: 4 kB / 0.817 GB, free: 49.53 MB / 410.7 MB Notification: Performance of Templates: time 0.01411/1.321, allocations: 12.53 MB / 0.8293 GB, free: 37 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.sim & ./Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1)