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.001153/0.001153, allocations: 168 kB / 12.72 MB, free: 2.59 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.413/1.413, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.001615/0.001615, allocations: 99.5 kB / 223.2 MB, free: 4.051 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.199/0.199, allocations: 37.99 MB / 300.4 MB, free: 5.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.272e-05/3.275e-05, allocations: 6.656 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1109, allocations: 48.7 MB / 405.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.24/1.351, allocations: 449.6 MB / 0.8352 GB, free: 138.9 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/1.352, allocations: 71.95 kB / 0.8353 GB, free: 138.9 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05875/1.41, allocations: 29.81 MB / 0.8644 GB, free: 108.9 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.763e-06/1.41, allocations: 0 / 0.8644 GB, free: 108.9 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.21e-05/1.41, allocations: 0 / 0.8644 GB, free: 108.9 MB / 442.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.0003836/1.411, allocations: 387.2 kB / 0.8648 GB, free: 108.5 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/1.411, allocations: 8.031 kB / 0.8648 GB, free: 108.5 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001605/1.413, allocations: 188.2 kB / 0.865 GB, free: 108.3 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/1.413, allocations: 206.8 kB / 0.8652 GB, free: 108.1 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/1.413, allocations: 11.98 kB / 0.8652 GB, free: 108.1 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.051e-05/1.413, allocations: 8 kB / 0.8652 GB, free: 108 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003761/1.413, allocations: 207 kB / 0.8654 GB, free: 107.8 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/1.413, allocations: 0 / 0.8654 GB, free: 107.8 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.67e-05/1.413, allocations: 11.98 kB / 0.8654 GB, free: 107.8 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/1.413, allocations: 4 kB / 0.8654 GB, free: 107.8 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000273/1.414, allocations: 155.9 kB / 0.8655 GB, free: 107.7 MB / 442.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.0008777/1.414, allocations: 0.5683 MB / 0.8661 GB, free: 107 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/1.415, allocations: 134.5 kB / 0.8662 GB, free: 106.9 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.799e-05/1.415, allocations: 68.8 kB / 0.8663 GB, free: 106.8 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/1.415, allocations: 4 kB / 0.8663 GB, free: 106.8 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.528e-05/1.415, allocations: 30.56 kB / 0.8663 GB, free: 106.8 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 1.322e-06/1.415, allocations: 0 / 0.8663 GB, free: 106.8 MB / 442.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.004441/1.419, allocations: 1.095 MB / 0.8674 GB, free: 105.6 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/1.419, allocations: 59.41 kB / 0.8674 GB, free: 105.5 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.86e-05/1.419, allocations: 101.2 kB / 0.8675 GB, free: 105.4 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/1.42, allocations: 33.7 kB / 0.8676 GB, free: 105.4 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.215e-05/1.42, allocations: 99.81 kB / 0.8677 GB, free: 105.3 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.357e-05/1.42, allocations: 63.11 kB / 0.8677 GB, free: 105.2 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.566e-05/1.42, allocations: 4 kB / 0.8677 GB, free: 105.2 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.469e-05/1.42, allocations: 318.8 kB / 0.868 GB, free: 104.9 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/1.42, allocations: 71.92 kB / 0.8681 GB, free: 104.8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/1.42, allocations: 99.61 kB / 0.8682 GB, free: 104.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/1.42, allocations: 70.59 kB / 0.8683 GB, free: 104.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/1.42, allocations: 0 / 0.8683 GB, free: 104.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003476/1.421, allocations: 252.6 kB / 0.8685 GB, free: 104.4 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/1.421, allocations: 4 kB / 0.8685 GB, free: 104.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/1.421, allocations: 12.03 kB / 0.8685 GB, free: 104.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001688/1.421, allocations: 56.72 kB / 0.8686 GB, free: 104.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002792/1.421, allocations: 51.97 kB / 0.8686 GB, free: 104.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004225/1.421, allocations: 0.5639 MB / 0.8692 GB, free: 103.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001643/1.422, allocations: 8.031 kB / 0.8692 GB, free: 103.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.602e-05/1.422, allocations: 32.08 kB / 0.8692 GB, free: 103.7 MB / 442.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 0.0001039/1.422, allocations: 112.9 kB / 0.8693 GB, free: 103.5 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.431e-05/1.422, allocations: 15.86 kB / 0.8693 GB, free: 103.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007364/1.423, allocations: 331 kB / 0.8696 GB, free: 103.2 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/1.423, allocations: 4 kB / 0.8697 GB, free: 103.2 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/1.423, allocations: 0 / 0.8697 GB, free: 103.2 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/1.423, allocations: 0 / 0.8697 GB, free: 103.2 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007468/1.423, allocations: 0.6112 MB / 0.8702 GB, free: 102.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/1.423, allocations: 0 / 0.8702 GB, free: 102.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003138/1.424, allocations: 67.89 kB / 0.8703 GB, free: 102.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.401e-05/1.424, allocations: 20.84 kB / 0.8703 GB, free: 102.4 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.8e-05/1.424, allocations: 11.98 kB / 0.8703 GB, free: 102.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008192/1.425, allocations: 1.264 MB / 0.8716 GB, free: 101 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.425, allocations: 7.984 kB / 0.8716 GB, free: 101 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006211/1.425, allocations: 456.6 kB / 0.872 GB, free: 100.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.35e-05/1.425, allocations: 89 kB / 0.8721 GB, free: 100.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/1.425, allocations: 8.062 kB / 0.8721 GB, free: 100.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001984/1.426, allocations: 7.938 kB / 0.8721 GB, free: 100.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.364e-05/1.426, allocations: 27.92 kB / 0.8722 GB, free: 100.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.681e-05/1.426, allocations: 27.98 kB / 0.8722 GB, free: 100.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.846e-05/1.426, allocations: 87.28 kB / 0.8723 GB, free: 100.2 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.426, allocations: 0 / 0.8723 GB, free: 100.2 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005417/1.426, allocations: 111.9 kB / 0.8724 GB, free: 100.1 MB / 442.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.0008512/1.427, allocations: 0.5375 MB / 0.8729 GB, free: 99.58 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000423/1.428, allocations: 188.5 kB / 0.8731 GB, free: 99.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/1.428, allocations: 4 kB / 0.8731 GB, free: 99.39 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002698/1.428, allocations: 216.6 kB / 0.8733 GB, free: 99.17 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003923/1.428, allocations: 48.27 kB / 0.8733 GB, free: 99.12 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005941/1.429, allocations: 329.2 kB / 0.8736 GB, free: 98.77 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/1.429, allocations: 0.7127 MB / 0.8743 GB, free: 98.04 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003924/1.43, allocations: 73.17 kB / 0.8744 GB, free: 97.96 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/1.43, allocations: 51.41 kB / 0.8745 GB, free: 97.91 MB / 442.7 MB Notification: Performance of SimCode: time 2.61e-07/1.43, allocations: 0 / 0.8745 GB, free: 97.91 MB / 442.7 MB Notification: Performance of Templates: time 0.01544/1.445, allocations: 12.51 MB / 0.8867 GB, free: 85.4 MB / 442.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)