Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.R134a_setState_phX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_phX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00139/0.00139, allocations: 103.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001545/0.001545, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.213/0.213, allocations: 46.12 MB / 344.2 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 79.78 kB / 417.6 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1188, allocations: 62.45 MB / 480.1 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.0123/0.1311, allocations: 8.402 MB / 488.5 MB, free: 12.82 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01418/0.1453, allocations: 13 MB / 0.4897 GB, free: 15.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.222e-05/0.1454, allocations: 0 / 0.4897 GB, free: 15.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002223/0.1457, allocations: 43.66 kB / 0.4898 GB, free: 15.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006287/0.152, allocations: 2.108 MB / 0.4918 GB, free: 13.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.077e-06/0.152, allocations: 0 / 0.4918 GB, free: 13.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.1521, allocations: 51.67 kB / 0.4919 GB, free: 13.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.025e-05/0.1522, allocations: 0 / 0.4919 GB, free: 13.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.1523, allocations: 31.86 kB / 0.4919 GB, free: 13.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.473e-05/0.1523, allocations: 19.86 kB / 0.4919 GB, free: 13.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.947e-06/0.1524, allocations: 0 / 0.4919 GB, free: 13.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01031/0.1627, allocations: 5.992 MB / 0.4978 GB, free: 7.512 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.014e-05/0.1627, allocations: 4 kB / 0.4978 GB, free: 7.508 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.086e-05/0.1628, allocations: 19.88 kB / 0.4978 GB, free: 7.488 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01289/0.1757, allocations: 4.78 MB / 0.5025 GB, free: 2.703 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1757, allocations: 0 / 0.5025 GB, free: 2.703 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1758, allocations: 4 kB / 0.5025 GB, free: 2.699 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1758, allocations: 0 / 0.5025 GB, free: 2.699 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.002733/0.1785, allocations: 0.6238 MB / 0.5031 GB, free: 2.027 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.1786, allocations: 12.03 kB / 0.5031 GB, free: 2.016 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001701/0.1787, allocations: 4 kB / 0.5031 GB, free: 2.012 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.1789, allocations: 175 kB / 0.5033 GB, free: 1.801 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/0.1789, allocations: 4 kB / 0.5033 GB, free: 1.797 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.1789, allocations: 7.984 kB / 0.5033 GB, free: 1.789 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000343/0.1793, allocations: 113.6 kB / 0.5034 GB, free: 1.672 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.1793, allocations: 3.938 kB / 0.5034 GB, free: 1.668 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.1793, allocations: 0 / 0.5034 GB, free: 1.668 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.1793, allocations: 4 kB / 0.5034 GB, free: 1.664 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003461/0.1797, allocations: 123.9 kB / 0.5035 GB, free: 1.543 MB / 382.1 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.0005573/0.1803, allocations: 356.4 kB / 0.5039 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002831/0.1806, allocations: 78.52 kB / 0.5039 GB, free: 1.059 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.1807, allocations: 44.84 kB / 0.504 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2175/0.3982, allocations: 2.117 MB / 0.506 GB, free: 38.92 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.3983, allocations: 34.28 kB / 0.5061 GB, free: 38.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.844e-06/0.3983, allocations: 0 / 0.5061 GB, free: 38.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007776/0.3991, allocations: 151.1 kB / 0.5062 GB, free: 38.85 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.286e-05/0.3991, allocations: 52.91 kB / 0.5063 GB, free: 38.79 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.731e-05/0.3992, allocations: 99.48 kB / 0.5064 GB, free: 38.69 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.3992, allocations: 30.06 kB / 0.5064 GB, free: 38.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.376e-05/0.3993, allocations: 92.83 kB / 0.5065 GB, free: 38.58 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.3993, allocations: 20 kB / 0.5065 GB, free: 38.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.941e-05/0.3993, allocations: 25.53 kB / 0.5065 GB, free: 38.55 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.584e-05/0.3994, allocations: 320.5 kB / 0.5068 GB, free: 38.24 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.3995, allocations: 24.73 kB / 0.5068 GB, free: 38.24 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.3996, allocations: 44.34 kB / 0.5069 GB, free: 38.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.3999, allocations: 67.95 kB / 0.507 GB, free: 38.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3999, allocations: 0 / 0.507 GB, free: 38.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003147/0.4002, allocations: 108.7 kB / 0.5071 GB, free: 38.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.4002, allocations: 8.156 kB / 0.5071 GB, free: 38.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.4002, allocations: 0.9062 kB / 0.5071 GB, free: 38.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.4003, allocations: 5.047 kB / 0.5071 GB, free: 38.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.4004, allocations: 17.62 kB / 0.5071 GB, free: 38.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.4004, allocations: 3.938 kB / 0.5071 GB, free: 38.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.414e-05/0.4005, allocations: 13.45 kB / 0.5071 GB, free: 38.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.4005, allocations: 3.156 kB / 0.5071 GB, free: 38.18 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.874e-05/0.4005, allocations: 117.9 kB / 0.5072 GB, free: 38.06 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.67e-05/0.4006, allocations: 1.875 kB / 0.5072 GB, free: 38.06 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004808/0.4011, allocations: 253.4 kB / 0.5075 GB, free: 38.01 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.4011, allocations: 3.734 kB / 0.5075 GB, free: 38.01 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.4011, allocations: 4.781 kB / 0.5075 GB, free: 38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.4011, allocations: 0.6562 kB / 0.5075 GB, free: 38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002154/0.4014, allocations: 229.4 kB / 0.5077 GB, free: 37.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.4014, allocations: 1.094 kB / 0.5077 GB, free: 37.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.464e-05/0.4015, allocations: 29.02 kB / 0.5077 GB, free: 37.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.4015, allocations: 2.016 kB / 0.5077 GB, free: 37.81 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.4015, allocations: 1.938 kB / 0.5077 GB, free: 37.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.4015, allocations: 0.5625 kB / 0.5077 GB, free: 37.81 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4015, allocations: 1.094 kB / 0.5077 GB, free: 37.81 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003491/0.4019, allocations: 250.8 kB / 0.508 GB, free: 37.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.208e-05/0.4019, allocations: 91.34 kB / 0.5081 GB, free: 37.58 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.4019, allocations: 3.922 kB / 0.5081 GB, free: 37.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.584e-05/0.402, allocations: 3.703 kB / 0.5081 GB, free: 37.58 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.299e-05/0.4021, allocations: 12.67 kB / 0.5081 GB, free: 37.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.4021, allocations: 3.25 kB / 0.5081 GB, free: 37.58 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.699e-05/0.4021, allocations: 84.98 kB / 0.5082 GB, free: 37.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4021, allocations: 0 / 0.5082 GB, free: 37.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00221/0.4043, allocations: 367.8 kB / 0.5085 GB, free: 37.49 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($cse3.phase,$cse4,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01841/0.4228, allocations: 3.561 MB / 0.512 GB, free: 35.85 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004493/0.4232, allocations: 102.8 kB / 0.5121 GB, free: 35.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.4233, allocations: 2.812 kB / 0.5121 GB, free: 35.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001823/0.4234, allocations: 70.34 kB / 0.5122 GB, free: 35.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004062/0.4239, allocations: 25.97 kB / 0.5122 GB, free: 35.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000565/0.4244, allocations: 247.6 kB / 0.5124 GB, free: 35.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001397/0.4246, allocations: 0.6968 MB / 0.5131 GB, free: 35.01 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000151/0.4248, allocations: 51.88 kB / 0.5131 GB, free: 35 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.377e-05/0.4248, allocations: 20.52 kB / 0.5132 GB, free: 34.99 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4248, allocations: 0 / 0.5132 GB, free: 34.99 MB / 382.1 MB Notification: Performance of Templates: time 0.0283/0.4531, allocations: 16.28 MB / 0.5291 GB, free: 28.96 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe 2>&1)